ColorMapManager manager = env.getColorMapManager(); ColorMapUI ui = manager.getUI();
HeatMapManager manager = env.getHeatMapManager(); HeatMapUI ui = manager.getUI();
            public void actionPerformed(ActionEvent ae)            {                ColorMapManager manager = env.getColorMapManager();                ColorMapUI ui = manager.getUI();                ui.setClosable(true);                ui.setIconifiable(true);                ui.setResizable(false);                ui.setMaximizable(false);                if(!ui.isShowing())                {                    tf.addToDesktop(ui,TopFrame.PALETTE_LAYER);                    ui.show();                }                else                {                    try                    {                        ui.setSelected(true);                    }                    catch(PropertyVetoException ex) {}                }            }