This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes Middling The JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Middling The JFrame" Watch "Middling The JFrame" New topic
Author

Middling The JFrame

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
hi all,
How can JFrame is made to appear in the center .Which is by default appear in the center.
Awais Bajwa
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Here is some code with comments that will help you understand what is going on...

HTH,
-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
hi Nathan,
Thanks a lot for ur code .I have very few time to explore this and u have really done well .Again thanks.
Awais Bajwa
(scjp).Pakistan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Middling The JFrame