Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

swing lookandfeel Change at runtime affecting JButtonBar  RSS feed

Dave Brown
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i All,

Anyone any ideas why this is happening to me ?

I have a frame with various panels all GridBagLayout, one being on the left containing a JButtonbar, with 4 buttons all stacked on top of each other again GB Layout..

Everything is cool, but when I call my Change Appearence dialog and select a new skin, as soon as I call


in the dialog to update the application with the new lookandfeel the JBUttonBar layout changes..

Instead of the buttons being





they are now


Any ideas anyone ? It's really got me stumped :'(

Thanks in advance,

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!