private static Modeler createModeler() {
		Modeler m = new Modeler();
		windowList.add(m);
		if ("false".equalsIgnoreCase(System.getProperty("mw.window.resizable"))) {
			m.setResizable(false);
		}
		if ("false".equalsIgnoreCase(System.getProperty("mw.window.menubar"))) {
			m.setJMenuBar(null);
		}
		if ("false".equalsIgnoreCase(System.getProperty("mw.window.toolbar"))) {
			m.getContentPane().remove(m.toolBar);
			m.editor.removeAllToolBars();
		}
		if ("false".equalsIgnoreCase(System.getProperty("mw.window.statusbar"))) {
			m.getContentPane().remove(m.statusBar);
		}
		String hp = System.getProperty("mw.homepage");
		if (hp != null)
			m.navigator.setHomePage(hp);
		int x = -1, y = -1, w = -1, h = -1;
		boolean parseOK = true;
		try {
			String s = System.getProperty("mw.window.width");
			if (s != null)
				w = Integer.parseInt(s);
			s = System.getProperty("mw.window.height");
			if (s != null)
				h = Integer.parseInt(s);
			s = System.getProperty("mw.window.left");
			if (s != null)
				x = Integer.parseInt(s);
			s = System.getProperty("mw.window.top");
			if (s != null)
				y = Integer.parseInt(s);
		}
		catch (NumberFormatException e) {
			e.printStackTrace();
			parseOK = false;
		}
		if (parseOK) {
			if (w > 0 || h > 0) {
				if (w == -1)
					w = m.editor.getPreferredSize().width;
				if (h == -1)
					h = m.editor.getPreferredSize().height;
				m.editor.setPreferredSize(new Dimension(w, h));
				m.statusBar.setPreferredSize(new Dimension(w, 20));
			}
			if (x >= 0 || y >= 0) {
				if (x == -1)
					x = m.getLocation().x;
				if (y == -1)
					y = m.getLocation().y;
				m.setLocation(x, y);
			}
		}
		return m;
	}