posted 18 years ago
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
SwingUtilities.updateComponentTreeUI(this.getParent());
in the dialog to update the application with the new lookandfeel the JBUttonBar layout changes..
Instead of the buttons being
X
X
X
X
they are now
XXXX
Any ideas anyone ? It's really got me stumped :'(
Thanks in advance,
Dave.
Regards, Dave Brown
SCJP 6 - [url]http://www.dbws.net/[/url] - Check out Grails Forum