< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicGraphicsUtils.java

Print this page

        

*** 380,393 **** */ static boolean isLeftToRight( Component c ) { return c.getComponentOrientation().isLeftToRight(); } - @SuppressWarnings("deprecation") static boolean isMenuShortcutKeyDown(InputEvent event) { ! return (event.getModifiers() & ! Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()) != 0; } /** * Draws the given string at the specified location using text properties * and anti-aliasing hints from the provided component. --- 380,392 ---- */ static boolean isLeftToRight( Component c ) { return c.getComponentOrientation().isLeftToRight(); } static boolean isMenuShortcutKeyDown(InputEvent event) { ! return (event.getModifiersEx() & ! Toolkit.getDefaultToolkit().getMenuShortcutKeyMaskEx()) != 0; } /** * Draws the given string at the specified location using text properties * and anti-aliasing hints from the provided component.
< prev index next >