• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can i change the LookAndFeel  RSS feed

 
Wei Yuan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
after i add some compant in to
a cantianer,Can i change the LookAndFell.
 
kim jungil
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Wei Yuan:
after i add some compant in to
a cantianer,Can i change the LookAndFell.

//you can do like this
try {
UIManager.setLookAndFeel(
"com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
SwingUtilities.updateComponentTreeUI(this);
} catch (Exception ex) {
System.out.println(ex);
}
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!