private void setLookAndFeel(int choice) {
		try {
			switch (choice) {

			case 0:
				UIManager
						.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel");
				break;
			case 1:
				UIManager
						.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
				break;
			case 2:
				UIManager
						.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
				break;
			case 3:
				UIManager
						.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
				break;
			case 4:
				UIManager.setLookAndFeel("apple.laf.AquaLookAndFeel");
				break;
			case 5:
				UIManager.setLookAndFeel(UIManager
						.getCrossPlatformLookAndFeelClassName());
				break;
			case 6:
				UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
				break;
			case 7:
				UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
				break;
			default:
				UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
			}
		} catch (Exception e) {
			JOptionPane.showMessageDialog(null,
					"Th Look and Feel you selected is not supported.",
					"Look & Feel Error", JOptionPane.INFORMATION_MESSAGE);
		}
	}