Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding Component to the right in JToolBar

 
Muhammad Imran Saeed
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have a question about JToolBar I have some components and I need to add some components on left and other on the right side ot the Toolbar. In the code which I have pasted below I need the Right button on the right side of the toolbar. I know the default layout for Toolbar is BoxLayout and i cant use rigid areas and invisibe filler component .



Kind Regards.

 
Muhammad Imran Saeed
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok I have found the solution to the question which i posted. Here is my soloution. Hope it helps someone else...



Thanks anyways .
Regards,
Muhamamd Imran Saeed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic