This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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