public static void handleFirstStart() {
		Configuration conf = Configuration.instance();
		boolean firstStart = conf.isFirstStart();

		if (!firstStart) {
			return;
		}

		// allow some host ranges here :)
		// http://en.wikipedia.org/wiki/Private_network
		conf.setIpExplicitlyAllowed("192.168.", true);
		conf.setIpExplicitlyAllowed("10.", true);
		conf.setIpExplicitlyAllowed("169.254.", true); // zeroconf stuff
		conf.setIpExplicitlyAllowed("5.", true); // hamachi
		// enable the automatic detection of local network hosts
		conf.setLocalNetworkIpsImplicitlyAllowed(true);
		

		boolean headless = MainDialog.isHeadless();

		String msg = "This is your first start of p300. Welcome!\n\n"
				+ "You can now add a share. Other hosts should be found automatically, but at the \n"
				+ "first start this can take some time. You can also manually add a host.\n";

		if (Configuration.isJava15()) {
			msg = msg
					+ "\n\nNote that you should update to java 1.6 for tray icon support.";
		}
		

		if (MainDialog.instance.guruztrayManager != null
				&& MainDialog.instance.guruztrayManager.isSupported()) {
			msg = msg
					+ "\n\nIf you close the main window, it will be minimized in the system tray. On your next start\n"
					+ "of p300 it will automatically be started in the system tray.";
		}

		if (headless) {
			D.out(msg);
		} else {
			JOptionPane.showMessageDialog(null, msg, "information",
					JOptionPane.INFORMATION_MESSAGE);
		}
	}