< prev index next >
src/java.desktop/macosx/classes/sun/lwawt/macosx/LWCToolkit.java
Print this page
*** 513,529 ****
/**
* Determines which modifier key is the appropriate accelerator
* key for menu shortcuts.
* <p>
* Menu shortcuts, which are embodied in the
! * <code>MenuShortcut</code> class, are handled by the
! * <code>MenuBar</code> class.
* <p>
! * By default, this method returns <code>Event.CTRL_MASK</code>.
* Toolkit implementations should override this method if the
* <b>Control</b> key isn't the correct key for accelerators.
! * @return the modifier mask on the <code>Event</code> class
* that is used for menu shortcuts on this toolkit.
* @see java.awt.MenuBar
* @see java.awt.MenuShortcut
* @since 1.1
*/
--- 513,529 ----
/**
* Determines which modifier key is the appropriate accelerator
* key for menu shortcuts.
* <p>
* Menu shortcuts, which are embodied in the
! * {@code MenuShortcut} class, are handled by the
! * {@code MenuBar} class.
* <p>
! * By default, this method returns {@code Event.CTRL_MASK}.
* Toolkit implementations should override this method if the
* <b>Control</b> key isn't the correct key for accelerators.
! * @return the modifier mask on the {@code Event} class
* that is used for menu shortcuts on this toolkit.
* @see java.awt.MenuBar
* @see java.awt.MenuShortcut
* @since 1.1
*/
< prev index next >