• Post Reply Bookmark Topic Watch Topic
  • New Topic

Change LookAndFeel in Realtime

 
Isaac Hewitt
Ranch Hand
Posts: 191
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

I am using two different skins from the Synthetica Look And Feel range. They both do a beautiful job. I have programed a MenuItem whereby a user can switch between
them in realtime.

It works, but only the first time. When the user wants to switch back to the previous skin, the command does not work and the second skin is still visible.
The orgonal class name was replaced with "MyClass":

 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first thing to try is

System.out.println(label);

to see what you're trying to match.

have you tried other L&F's - do they also only work the first time?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!