public static void jFrame() {
		JFrame frame = new JFrame("Modules");
		JPanel panel = new JPanel();
		for (Module m : modules) {
			JButton button = new JButton(m.getClass().getSimpleName());
			hash.put(button, m);
			panel.add(button);
		}
		for (final JButton b : hash.keySet())
			b.addActionListener(new ActionListener() {

				@Override
				public void actionPerformed(ActionEvent arg0) {
					IslandGen.getInstance().loadedModule(hash.get(b));
				}
			});
		frame.setContentPane(panel);
		frame.setSize(modules.size() * 40 + 20, modules.size() * 40 + 20);
		frame.setVisible(true);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}