questo:
proverei a metterlo in un blocco static così:codice:try{ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch(Exception e){ }
prova se va.codice:class nomeclasse extends JFrame { static { try{ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch(Exception e){ e.printStackTrace(); } } }
E se da errori posta tutto il testo delle eccezioni, inserendo nel blocco catch e.printStackTrace() appaiono info utili sulla console per il debug;
![]()

Rispondi quotando