Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by confirming a bean customizer the WindowBuilder generates source code for all property changes of a customized bean, regardless if there was a custom PropertyChangeEvent fired for these changes.
It seems the WindowBuilder compares the bean that was given through the setObject method of the customizer with the final customized bean after the customizer was confirmed. Then source code gets generated for all differences.
This is not always the expected result since some of the bean property changes could happen indirectly. Therefore some GUI builders, like VE supports something like a explicit-property-change flag that could be applied through the BeanInfo class. Then the customizer has to fire explicit PropertyChangeEvent when source code generation is expected.
Does the swing WindowBuilder supports something similar?
- Posts: 1
- Joined: Mon Nov 12, 2007 6:17 am
Can you send to support small example of such component/customizer?
- Posts: 186
- Joined: Tue Oct 18, 2005 8:11 pm
- Location: Russian Federation, Lipetsk
It sounds like the VE is doing something proprietary, so we need to see an actual example, if we are to implement the same thing.
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
Return to Swing Designer
Who is online
Users browsing this forum: No registered users and 1 guest