| Child JFrames & JDialogs not showing [message #941087] |
Fri, 12 October 2012 03:57  |
Ed Murray Messages: 1 Registered: July 2009 |
Junior Member |
|
|
I have some classes that I am looking to migrate from VEP. One of these classes is a JFrame class and the main JFrame is passed satisfactorily in Window Builder. However there are other JDialogs & JFrames within this class that are not appearing in the design screen. I have pulled out one such JFrame into a separate class file and it is now successfully parsed and appears. Must I do this for every Window in the Class file? If anyone could offer some tips as to how to go about this it would be much appreciated.
[Updated on: Tue, 16 October 2012 18:25] Report message to a moderator
|
|
|
|
| Re: Child JFrames & JDialogs now showing [message #947131 is a reply to message #941346] |
Tue, 16 October 2012 17:07  |
 |
Michael Prentice Messages: 13 Registered: October 2012 Location: Melbourne, FL |
Junior Member |
|
|
Right, I don't think that it will display inner or anonymous classes, non-public classes, or dynamically added content in the design view.
Take a look at the support for building composite widgets and using Factories for generating your widgets. That way when you pull them out, you can put them somewhere that will allow you to leverage some of the powerful features of WindowBuilder. Like adding them to your own custom Pallet sections and exposing only the fields or objects that you want to allow changing.
Michael Prentice
GDG Space Coast
|
|
|
Powered by
FUDForum. Page generated in 0.01776 seconds