< prev index next >
test/jdk/java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java
Print this page
rev 59106 : imported patch client
*** 107,135 ****
"\"Always show all icons and notifications on the taskbar\" true " +
"to avoid this problem. Or change behavior only for Java SE tray " +
"icon and rerun test.");
System.out.println(System.getProperty("os.arch"));
- if (System.getProperty("os.name").indexOf("Sun") != -1 &&
- System.getProperty("os.arch").indexOf("sparc") != -1) {
- keyTypes = new int[]{
- KeyEvent.VK_SHIFT,
- KeyEvent.VK_CONTROL,
- KeyEvent.VK_META
- };
-
- keyNames = new String[]{
- "SHIFT",
- "CONTROL",
- "META"
- };
- keyMasks = new int[]{
- KeyEvent.SHIFT_DOWN_MASK,
- KeyEvent.CTRL_DOWN_MASK,
- KeyEvent.META_DOWN_MASK
- };
- }
if (SystemTrayIconHelper.isOel7()) {
System.out.println("OEL 7 doesn't support click modifiers in " +
"systray. Skipped");
return;
--- 107,116 ----
< prev index next >