File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
Similar Threads
Swing Problem with Head First Java example
problem in swing tool bar
Swing Problem with Head First Java example
Two Questions
Link two JPanel's with a line