« Java no Brasil | Home | Meu Sistema Operacional do Coração »
Atualizar UIManager.setLookAndFeel
de raydacosta | Terça, 16 de Setembro de 2008
Listar:
UIManager.LookAndFeelInfo[] infolocal = UIManager.getInstalledLookAndFeels();
for (int i=0; i
String className = infolocal[i].getClassName();
System.out.println(className);
nomesLook.add(humanReadableName);
this.info.put(humanReadableName,className);
}
public void atualiza(int i){
try {
UIManager.setLookAndFeel(looks[i].getClassName());
SwingUtilities.updateComponentTreeUI(this);
}catch(Exception e) {
e.printStackTrace();
}
}
Categorias: J2SE | | Enviar por e-mail | Hits para esta publicação: 144





