Color newColor = JColorChooser.showDialog(null, selectTitle, getColor()); setColor(newColor);
Color newColor = ColorChooser.getColor(selectTitle, getColor()); if (newColor!=null) setColor(newColor);
		public void actionPerformed(ActionEvent e) {			String action = e.getActionCommand();/*			if (action.equals(colorString))			{							Color newColor = JColorChooser.showDialog(null, selectTitle, getColor());				setColor(newColor);				com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace");			}			else if (action.equals(addConnectorString))			{				addConnector();				com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace");			}			else*/ if (action.equals(moveUpString))			{				((Record)getParent()).moveFieldUp(EPICSVarLink.this);			}			else if (action.equals(moveDownString))			{				((Record)getParent()).moveFieldDown(EPICSVarLink.this);			}			else if (action.equals(removeString))			{				destroy();			}					}