@Override
        public void mouseWheelMoved(MouseWheelEvent e) {
            int a = e.getWheelRotation();
            if (a < 0) {
                for(int i = 0; i < -a; i++) {
                    keys[KeyEvent.VK_UP] = true;
                    updateStatus();
                    keys[KeyEvent.VK_UP] = false;
                }
            }
            else if (a > 0) {
                for(int i = 0; i < a; i++) {
                    keys[KeyEvent.VK_DOWN] = true;
                    updateStatus();
                    keys[KeyEvent.VK_DOWN] = false;
                }
            }
        }