aspose file tools
The moose likes Swing / AWT / SWT and the fly likes size of the frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "size of the frame" Watch "size of the frame" New topic

size of the frame

hari thatikonda

Joined: Sep 09, 2004
Posts: 11
hey usually when we run the gui frame has the size that we specified when we maximize it, it grows up to full size of screen. here wht i want is when we run the the programme the frame should be the size of the screen(ofcourse differenct monitors have different screen size) and then i should be able to minimize for a certain length. how can i do that.
thank u
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
I agree. Here's the link:
subject: size of the frame