Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Middling The JFrame

 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is some code with comments that will help you understand what is going on...

HTH,
-Nate
 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Those are the largest trousers in the world! Especially when next to this ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!