map.getLegend(name).assignColors();
map.getLegend(name).updateRendererObjects();
				public void actionPerformed(ActionEvent e) {					ColorLegendUI colorLegendUI = new ColorLegendUI(_ctl, map.getLegend(name));					map.getLegend(name).assignColors();					// _ctl.getView().addComponent(new ColorLegendUI(map.getLegend(name)), "Legend", ViewInterface.SIDE_PANEL);					_viewLegendMenuActionPerformed(e, colorLegendUI);				}