< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicGraphicsUtils.java
Print this page
*** 382,393 ****
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.
--- 382,393 ----
return c.getComponentOrientation().isLeftToRight();
}
@SuppressWarnings("deprecation")
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 >