public Desktop(){
		frame = new JFrame(Settings.title);
		frame.setAlwaysOnTop(false);
		frame.setSize(800,600);
		frame.setLocationRelativeTo(null);
		frame.setResizable(true);
		frame.setLayout(new BorderLayout());
		frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
		frame.addWindowListener(new WindowListener(){
			public void windowActivated(WindowEvent arg0){}
			public void windowClosed(WindowEvent arg0){}
			public void windowClosing(WindowEvent arg0){
	            if (WebOptionPane.showConfirmDialog ( frame, "Вы дествительно хотите выйти", "потверждение", WebOptionPane.YES_NO_OPTION,
	            WebOptionPane.QUESTION_MESSAGE ) == WebOptionPane.OK_OPTION)
	            	MineOS.exit();
			}
			public void windowDeactivated(WindowEvent arg0){}
			public void windowDeiconified(WindowEvent arg0){}
			public void windowIconified(WindowEvent arg0){}
			public void windowOpened(WindowEvent arg0){}
		});
		new WebDesktopPane();
		setOpaque(false);
		frame.add(this);
		WebInternalFrame fr = new WebInternalFrame("");
		this.add(fr);
		JDesktopIcon icon = new JDesktopIcon(fr);
		icon.setBounds(120, 120, 100, 75);
		this.add(icon);
	}