Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » using WindowBuilder in Eclipse Indigo(Create new window to be generated by menu item)
using WindowBuilder in Eclipse Indigo [message #804656] Wed, 22 February 2012 16:33 Go to next message
David Wilkinson is currently offline David Wilkinson
Messages: 1
Registered: February 2012
Junior Member
I new to both Java and Eclipse (and WindowBuilder for that matter) am trying to build a small prototype application using WindowBuilder. I have built a main window using Class jFrame and a menu with several jMenus and jMenuItems. What I do not know how to do is build a seperate window which will be "called" by pushing the appropriate jMenuItem. I realy need to know two things

1) How do I design this seperate "pop up" window in WindowBuilder
2) How do I connect it to the action on the jMenuItem

Any help would be very appreciated
Re: using WindowBuilder in Eclipse Indigo [message #806879 is a reply to message #804656] Sat, 25 February 2012 11:53 Go to previous message
Eric Clayberg is currently offline Eric Clayberg
Messages: 847
Registered: July 2009
Location: Boston, MA
Senior Member
1) Create each window as a JFrame subclass.

2) In the JMenuItem's action or event handler, open the new window.

FYI...this is not the appropriate forum to ask general Swing UI questions.
Previous Topic:No WindowBuilder Pro Folder in New Wizard
Next Topic:Problems to update org.eclipse.wb.core.lib_1.3.0.r37x20120131...
Goto Forum:
  


Current Time: Tue Jul 22 13:40:09 EDT 2014

Powered by FUDForum. Page generated in 0.11138 seconds