Timbo, I just downloaded JBuilder just to answer your question
I have never used it before. It is JBuilder 2005 Foundation.
1) I created a new project.
2) I created a new "Frame" called "MyFrame" using the javax.swing.JFrame base class.
3) I clicked the "Design" tab.
4) I added a JLabel and JButton.
It generated the following code:
Notice: MyFrame extends JFrame. Thus, when MyFrame()'s constructor is called, JFrame's default constructor is automatically called.
I added the following code to maximize the window as in my first post and it worked as expected:
You will probably have to combine this with Michael's code to get it to work for earlier JDK's.
[ March 20, 2007: Message edited by: Jonathan Janisch ]