waldronk wrote:I'm trying to create a custom panel that supports a complex type. I've created a bean info for the panel class that supports 2 boolean properties and a property that accepts a javax.swing.ImageIcon. When import the bean the boolean properties show up fine in the designer properties but the icon property does not. This works in another tool I've used. Does Swing Designer only support basic types for custom properties and if so are there any plans to add support for more complex types?
waldronk wrote:Also, is the ocean look and feel (and java 1.5) supported in the designer?
Anonymous wrote:Since I haven't gotten a respone let me clarify my issue, which has changed slightly. I've created my own font class (MyFont) that wraps the the java.awt.font and provides an enumerated list of available fonts: FONT_A, FONT_B, FONT_C, etc.. I tried creating a PropertyEditor (MyFontEditor) so that the GUI designer can pick from a drop down list of our available fonts. I want to add this capability to all my custom widgets. I can get the property to show up in the swing builder 3.0.1 (though I had to specifically set the propertyeditor in the beaninfo) and it will generate the proper code but after i pick from the list it will not display my selection nor will it render the change (which might be related to the fact that the standalone font picker doesn't support the SansSerif font family we are using). Should this work?
Users browsing this forum: Google [Bot] and 1 guest