wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Open a form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Open a form" Watch "Open a form" New topic

Open a form

matthew weeks

Joined: Feb 23, 2004
Posts: 15
I've completely forgotten the syntax for how you open up a form from a button? Obviously its on the actionPerformed of the button.
I know you change something (possibly in the Strings[] args bit) in the form you want to open to something like showForm().
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Ummm... what's a "form"? That's not part of the default Swing/AWT API.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
mo robertson

Joined: Mar 29, 2004
Posts: 24
he means a jframe i think
matthew weeks

Joined: Feb 23, 2004
Posts: 15
I did mean frame, sorry. Ive done it now anyway
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Open a form
Similar Threads
Pre select a dropdown using cookie.
File Open Dialog box
How to submit a form using rollover image
general questions
pop up window help