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 iduman » Tue Nov 18, 2008 6:07 am
Hello
I am trying to use my custom Swing widget classes in my project. I want to add fields such as Vectors, custom Enum classes. How can I modify these fields by using Property Editor? Do I need to extend this Window Builder plugin? If so, can you give a reference or a documentation or an example?
Thanks
-
iduman
-
- Posts: 21
- Joined: Tue Nov 18, 2008 5:46 am
by Eric Clayberg » Tue Nov 18, 2008 6:46 am
Swing Designer will show any JaavBean compliant custom properties, editors and customizers.
Information on how to create custom widgets with custom editors and customizers is available on-line (from the Sun site, for example). That is not something we provide technical support for.
You do not need to extend the WindowBuilder plugin itself. Everything you want to do should be possible using the satandard JavaBean spec.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
by iduman » Tue Nov 18, 2008 8:25 am
If a property is not JavaBean compliant what can I do to edit this property? Is there a way of extending Property Editor for editing non JavaBean compliant properties?
Thanks
-
iduman
-
- Posts: 21
- Joined: Tue Nov 18, 2008 5:46 am
by Eric Clayberg » Tue Nov 18, 2008 9:06 am
iduman wrote:If a property is not JavaBean compliant what can I do to edit this property?
Nothing unless you make it JavaBean compliant.
iduman wrote:Is there a way of extending Property Editor for editing non JavaBean compliant properties?
No. There is no public API for that.
-
Eric Clayberg
- Moderator
-
- 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: Google [Bot] and 1 guest