• Post Reply Bookmark Topic Watch Topic
  • New Topic

swing buttons  RSS feed

 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I am having my swing buttons in gridlayout at the left corner of my webpage.I want those buttons to be displayed in bottom of my page.whether i have to use borderlayout?how can i do this?

Thanks
 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I usually add buttons to a JPanel with FlowLayout. Then add this panel to another panel with BorderLayout, to the south.
 
Nacho Espinosa
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try with JGoodies, this framework helps you with FormLayout, is very simple and fast.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!