private void moveToNextCell() {
       if (lastKeyPressedEvent != null) {
           if (lastKeyPressedEvent.getKeyCode() == KeyEvent.VK_DOWN) {
               setNextCellSelectedBelow();
           } else if (lastKeyPressedEvent.getKeyCode() == KeyEvent.VK_UP) {
               setNextCellSelectedAbove();
           } else if (lastKeyPressedEvent.getKeyCode() == KeyEvent.VK_TAB 
                   && !lastKeyPressedEvent.isShiftDown()) {
               setNextCellSelected();
           } else if (lastKeyPressedEvent.getKeyCode() == KeyEvent.VK_TAB && lastKeyPressedEvent.isShiftDown()){ // skipping backwards
               setPreviousCellSelected();
           } else if (lastKeyPressedEvent.getKeyCode() == KeyEvent.VK_ENTER ) { //&& this.enterFocusesVertically) {       
               setNextCellSelected();
           }
       }
   }