Tab Key Pressed in JTextArea Goto Next Swing Component

  private void addKeyPressed(java.awt.event.KeyEvent evt) {                              
        // TODO add your handling code here:
         if (evt.getKeyCode() == KeyEvent.VK_TAB) {

cphone.requestFocus();
cphone.selectAll();
            
            //System.out.println("in yabbbb");
        }
    }                        

Post a Comment

Thank You

Previous Post Next Post