@Override
	public void mousePressed(MouseEvent e)
	{
		if(e.getClickCount() >= 2)
		{
			byte setting = Byte.parseByte(Configuration.getSetting("action"));
			try { Thread.sleep(500); } catch(InterruptedException ex) { }
			switch(setting)
			{
				case 0:
				{
					AreaSelection.enable();
					break;
				}
				case 1:
				{
					ScreenCapture.captureScreen(Util.getGraphicsDevice());
					break;
				}
				case 2:
				{
					new TextInputFrame();
					break;
				}
				case 3:
				{
					TextUpload.uploadFromClipboard();
					break;
				}
				case 4:
				{
					new SettingsFrame();
					break;
				}
				case 5:
				{
					new ShortcutSettingsFrame();
					break;
				}
				case 6:
				{
					System.exit(0);
					break;
				}
			}
		}
	}