with the actual swingdesigner (7.5xxx) i can not add components from a factory class.
With an earlier version (7.4) i have no problems.
Here is an Example:
Create the class FactoryTest and a Method like:
- Code: Select all
public static JLabel createLabel() {
return new JLabel("Hallo");
}
Then click on palette in swingdesigner and select addStaticFactory and then multiple...
In Version 7.4 i can then select the methods and have a new component on the palette.
With 7.5xxx i get the message "Factory class de.parcit.FactoryTest contains no factory methods."
cheers, michael