void (ActionEvent e) { String title = UIDesignerBundle.message("color.chooser.title", myPropertyName); Color color = ColorChooserService.getInstance().showDialog(myTextField, title , myValue.getColor()); if (color != null) { myValue = new ColorDescriptor(color); updateTextField(); } }