Ciao a tutti!
Come si imposta Nimbus Look and Feel in un applet java?? Ho già provato a inserire nel metodo init() seguente codice:
codice:
try {
for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (Exception e) {
System.out.println("If Nimbus is not available, you can set the GUI to another look and feel.");
}
Ma non succede niente e non mi da errore che Nimbus non è disponibile. Però se provo con un applicazione - JFrame mi cambia lo stile giusto...
Xke? Forse sto sbagliando da qualche parte???