!7 p { bool ok = false; for (final UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) { S name = info.getName(); print("L&F found: " + name); if (eq("Nimbus", name)) { swing { UIManager.setLookAndFeel(info.getClassName()); print("Nimbus activated!"); JFrame.setDefaultLookAndFeelDecorated(true); // doesn't do anything though print("Updating windows"); updateLookAndFeelOnAllWindows_noRenew(); print("Renewing console frame"); renewConsoleFrame(); showForm("a", jtextfield()); } ok = true; } } if (!ok) print("Nimbus not found."); }