public final void start() {
		isAppletMode = getParent() != null;
		if (isAppletMode) {
			if (!started) {
				started = true;
				validate();
				setVisible(true);
				mainThread = Thread.currentThread();
				startRun();
			}
		} else {
			start(null);
		}
	}