• Post Reply Bookmark Topic Watch Topic
  • New Topic

LookAndFeel JToolbar  RSS feed

 
ra,yaku
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gurus,
I would like to discuss a problem which i am facing in creation of look and feel architecture.
How to make space (padding) between buttons /any component when they are in Toolbar.I dont want user (gui developer)to give alignment and space between components,I want ,However he adds the components to toolbar ,comoponents should be added to toolbar with minimum(8pxl)space.I tried writing this in install defaults method in MyToolBarUI class (which is in MyLookAndFeel ).
One more how to restrict the user not to drag the toolbar in vertical postion,but can do in horizontally any where in screen.
If anyone of u know about lookandfeel tutorials,Please let me know..
thanx in advance
ra,yaku
 
Wilfried LAURENT
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at Chapter 23, 24 and 30 of the following link. It should help.
http://ccfit.nsu.ru/programming/java/books/JFCUnleashed/index.htm
W.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!