Board index » jbuilder » Maximize jframe/jdialog

Maximize jframe/jdialog


2004-04-05 09:20:09 PM
jbuilder9
there is a way to maximize Jframe or jdialog at the class startup ?
 
 

Re:Maximize jframe/jdialog

On 4/5/2004 at 9:20:09 AM, Aurelio Balgera wrote:
Quote
there is a way to maximize Jframe or jdialog at the class startup ?
You can maximize a frame with:
frame.setExtendedState( Frame.MAXIMIZED_BOTH );
Dialogs cannot be maximized.
It is not clear to me what you mean by "class startup".
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
www.JPMcGrath.net/newsgroups/e-mail.html