0

I'm using Sea Glass Look and Feel for my application, which uses a - for my purposes - quite large default button size. I'd like to have all buttons a bit smaller. The L&F supports client properties - but do I have to change set this property for each button manually? Or is there a way to set a different (smaller) default size that is used for all created JButtons?

Thanks in advance, Daniel

Daniel
  • 7,252
  • 6
  • 26
  • 38
  • Try this [example](http://stackoverflow.com/a/14599176/230513). – trashgod Aug 28 '13 at 09:05
  • If I understood that example right, you have to repeat this for **each** button (wonder where my "each" in the posting is gone, I thought I also already wrote it above...). What I would like to do is to set a kind of "default small size" for each new created button (using Sea Glass Look and Feel). – Daniel Aug 28 '13 at 19:38
  • Right; it's not a UI default; `createVariant()` is a factory method that can be invoked as required. – trashgod Aug 28 '13 at 22:53

0 Answers0