public static void initUI(JFrame frame) {
		UIManager.LookAndFeelInfo[] installedLafs = UIManager
				.getInstalledLookAndFeels();
		for (UIManager.LookAndFeelInfo lafInfo : installedLafs) {
			try {
				Class<?> lnfClass = Class.forName(lafInfo.getClassName());
				LookAndFeel laf = (LookAndFeel) (lnfClass.newInstance());
				if (laf.isSupportedLookAndFeel()) {
					String name = lafInfo.getName();
					SupportedLaF supportedLaF = new SupportedLaF(name, laf);
					supportedLaFs.add(supportedLaF);
					if (NIMBUS_LAF_NAME.equals(name)) {
						nimbusLaF = supportedLaF;
						UIManager.setLookAndFeel(laf);
						SwingUtilities.updateComponentTreeUI(frame);

						frame.pack();
						break;
					}
				}

			} catch (Exception ignored) {
				// If ANYTHING weird happens, don't add this L&F
			}
		}
		setframe(frame);
	}