@Override
	public void keyPressed(KeyEvent e) {

		if (e.isControlDown()) {
			if (e.getKeyCode() == KeyEvent.VK_R) {
				checkbox[3].setSelected(!checkbox[3].isSelected());
			} else if (e.getKeyCode() == KeyEvent.VK_E) {
				checkbox[2].setSelected(!checkbox[2].isSelected());
			} else if (e.getKeyCode() == KeyEvent.VK_W) {
				checkbox[1].setSelected(!checkbox[1].isSelected());
			} else if (e.getKeyCode() == KeyEvent.VK_Q) {
				checkbox[0].setSelected(!checkbox[0].isSelected());
				//rand.chageStat(0, rand.getIgnor(0));
			} else if (e.getKeyCode() == KeyEvent.VK_X){
				checkbox[4].setSelected(!checkbox[4].isSelected());
			}

		}
	}