Java Swing KeyStroke get for shift space

Description

Java Swing KeyStroke get for shift space

import javax.swing.KeyStroke;

public class Main {
   public static void main(String[] a) {
      System.out.println(KeyStroke.getKeyStroke("shift pressed SPACE"));
   }/*from  w  ww . j  a  v  a 2 s.  c  o  m*/
}



PreviousNext

Related