aspose file tools*
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


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Open a form" Watch "Open a form" New topic
Author

Open a form

matthew weeks
Greenhorn

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
Bartender

Joined: Oct 18, 2000
Posts: 4121

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


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

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

Joined: Feb 23, 2004
Posts: 15
I did mean frame, sorry. Ive done it now anyway
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open a form