diff -r b7aba00cabb6 -r 3f4bbd3be2f1 jdk/src/share/classes/javax/swing/KeyStroke.java --- a/jdk/src/share/classes/javax/swing/KeyStroke.java Thu Mar 26 14:38:46 2009 +0300 +++ b/jdk/src/share/classes/javax/swing/KeyStroke.java Fri Mar 27 12:01:24 2009 +0300 @@ -1,5 +1,5 @@ /* - * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -162,6 +162,9 @@ *
  • java.awt.event.KeyEvent.VK_TAB *
  • java.awt.event.KeyEvent.VK_SPACE * + * Alternatively, the key code may be obtained by calling + * java.awt.event.KeyEvent.getExtendedKeyCodeForChar. + * * The modifiers consist of any combination of: + * Alternatively, the key code may be obtained by calling + * java.awt.event.KeyEvent.getExtendedKeyCodeForChar. + * * The modifiers consist of any combination of: