File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Positioning of JButton

 
Dhivya Krishnan
Ranch Hand
Posts: 68
  • 0
  • 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
  • 0
  • 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.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic