Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Positioning of JButton

 
Dhivya Krishnan
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used grouplayout for designing my screen. Button is placed in the left corner of the panel. I want it to be placed in the center of the panel. Please let me know your suggestions on this positioning a button or any component. The position of the component must be in the center of the screen, even if i maximize the screen.
Thanks in advance.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can't help with GroupLayout, but...

> The position of the component must be in the center of the screen, even if i maximize the screen.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic