jdk/src/share/classes/javax/swing/text/JTextComponent.java
changeset 20106 5d5f2c72f262
parent 10316 8d1ca7d93fb2
child 20455 f6f9a0c2796b
equal deleted inserted replaced
20105:f698ce625852 20106:5d5f2c72f262
  1560     public static final String FOCUS_ACCELERATOR_KEY = "focusAcceleratorKey";
  1560     public static final String FOCUS_ACCELERATOR_KEY = "focusAcceleratorKey";
  1561 
  1561 
  1562     /**
  1562     /**
  1563      * Sets the key accelerator that will cause the receiving text
  1563      * Sets the key accelerator that will cause the receiving text
  1564      * component to get the focus.  The accelerator will be the
  1564      * component to get the focus.  The accelerator will be the
  1565      * key combination of the <em>alt</em> key and the character
  1565      * key combination of the platform-specific modifier key and
  1566      * given (converted to upper case).  By default, there is no focus
  1566      * the character given (converted to upper case).  For example,
       
  1567      * the ALT key is used as a modifier on Windows and the CTRL+ALT
       
  1568      * combination is used on Mac.  By default, there is no focus
  1567      * accelerator key.  Any previous key accelerator setting will be
  1569      * accelerator key.  Any previous key accelerator setting will be
  1568      * superseded.  A '\0' key setting will be registered, and has the
  1570      * superseded.  A '\0' key setting will be registered, and has the
  1569      * effect of turning off the focus accelerator.  When the new key
  1571      * effect of turning off the focus accelerator.  When the new key
  1570      * is set, a PropertyChange event (FOCUS_ACCELERATOR_KEY) will be fired.
  1572      * is set, a PropertyChange event (FOCUS_ACCELERATOR_KEY) will be fired.
  1571      *
  1573      *