thanassis.com
home
blog
Online Games
Sudoku
Ivory Tower
Web Hangman
Software
Java
Object Oriented
Mobiles / J2ME
Research
C.S. Resources
Galleries
Greece
Music
Photography
Art
Personal
About me
Useful Links
Contact
Site
Downloads
My other sites
Thanassis.gr
Djangopedia
Kilogames
Xoocle
TrainJava
GameAnatomy
Latest News
Changing Look&Feel
public void changeLookTo(String cName) {
try { UIManager.setLookAndFeel(cName); }
catch (Exception e) { System.out.println("Could not change l&f"); }
SwingUtilities.updateComponentTreeUI(this);
this.pack();
}
ChooseFrom:
- "javax.swing.plaf.metal.MetalLookAndFeel";
- "javax.swing.plaf.motif.MotifLookAndFeel";
- “javax.swing.plaf.windows.WindowsLookAndFeel";
Previous slide
Next slide
Back to first slide
View graphic version
Web
this site
Thanassis Blog News
In the News
Deep impact smashes comet
3 Florida shark attacks in a week
Mad Cow
summit in Scotland
Search the Archives