Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Child JFrames & JDialogs not showing
Child JFrames & JDialogs not showing [message #941087] Fri, 12 October 2012 07:57 Go to next message
Ed Murray is currently offline Ed Murray
Messages: 2
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 22:25]

Report message to a moderator

Re: Child JFrames & JDialogs now showing [message #941346 is a reply to message #941087] Fri, 12 October 2012 12:33 Go to previous messageGo to next message
Konstantin Scheglov is currently offline Konstantin Scheglov
Messages: 555
Registered: July 2009
Senior Member
Yes, WindowBuilder parses and shows only one top-level UI.

Konstantin Scheglov,
Google, Inc.
Re: Child JFrames & JDialogs now showing [message #947131 is a reply to message #941346] Tue, 16 October 2012 21:07 Go to previous message
Michael Prentice is currently offline Michael Prentice
Messages: 22
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
Previous Topic:visualize exceptions during parsing
Next Topic:Jframe window builder
Goto Forum:
  


Current Time: Fri Oct 31 06:33:48 GMT 2014

Powered by FUDForum. Page generated in 0.01713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software