|
|
JColorPanelThis panel can be used for creating SLD editor panels. It's also a bean, so you can add it in the Swing Palette of NetBeans Matisse WYSIWYG for example. |
How to use it ?
JColorPanel guiStrokeColor = new JColorPanel(); //apply the Color property guiStrokeColor.setColor(stroke.getColor()); //get back the property Color color = guiStrokeColor.getColor(); //or Expression expcolor = guiStrokeColor.getExpressionColor();
