so come creare gli eventi da tastiera, ma con un solo tasto.
codice:
    private void jButton6KeyPressed(java.awt.event.KeyEvent evt) {
        if (evt.getKeyCode() == KeyEvent.VK_L + KeyEvent.CTRL_MASK) {
            JOptionPane.showMessageDialog(null, "ciao");
        }
    }
ma se volessi usare due tasti?
ad esempio Ctrl+l.
ho fatto vari tentativi ma nn sono riuscito.