wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Seeting the size of JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Seeting the size of JFrame" Watch "Seeting the size of JFrame" New topic
Author

Seeting the size of JFrame

Leela murthy
Greenhorn

Joined: Sep 12, 2006
Posts: 6
Can any body help me setting the size of JFrame to window's(desctop) size

thanks in advance
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
JFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);

this sort of question is best answered by looking at the api docs,
particularly "Methods Inherited from..." for Swing components
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Seeting the size of JFrame