< prev index next >

test/java/awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java

Print this page

        

*** 48,58 **** "2. If present, press the Alt-Gr key and perform", " mouse click on the TestWindow.", "3. If Alt-Gr key is not present, press Ctrl+Alt keys &", " perform mouse click on the TestWindow.", "4. Test will exit by itself with appropriate result.", ! "", "Linux :-", "1. Please check if Alt-Gr key is present on keyboard.", "2. If present, press the Alt-Gr key and perform", " mouse click on the TestWindow.", "3. Navigate to System Settings-> Keyboard-> Shortcuts->", --- 48,58 ---- "2. If present, press the Alt-Gr key and perform", " mouse click on the TestWindow.", "3. If Alt-Gr key is not present, press Ctrl+Alt keys &", " perform mouse click on the TestWindow.", "4. Test will exit by itself with appropriate result.", ! " ", "Linux :-", "1. Please check if Alt-Gr key is present on keyboard.", "2. If present, press the Alt-Gr key and perform", " mouse click on the TestWindow.", "3. Navigate to System Settings-> Keyboard-> Shortcuts->",
*** 61,85 **** " For example. Right Alt", "5. Close the settings and navigate to test", "6. Press Right Alt Key & perform mouse click on the", " TestWindow", "7. Test will exit by itself with appropriate result.", ! "", "Mac :-", ! " Mac fix is under progress, & will be fixed soon.", ! " Please click Fail" }; Sysout.createDialog(); Sysout.printInstructions(instructions); } static Frame mainFrame; public static void initTestWindow() { mainFrame = new Frame(); mainFrame.setTitle("TestWindow"); ! mainFrame.setSize(300, 200); mainFrame.addMouseListener(new MouseAdapter() { @Override public void mousePressed(MouseEvent e) { int ex = e.getModifiersEx(); if ((ex & InputEvent.ALT_GRAPH_DOWN_MASK) == 0) { --- 61,86 ---- " For example. Right Alt", "5. Close the settings and navigate to test", "6. Press Right Alt Key & perform mouse click on the", " TestWindow", "7. Test will exit by itself with appropriate result.", ! " ", "Mac :-", ! "1. Press Right Option key on the keyboard and mouse click", ! " on the TestWindow", ! "3. Test will exit by itself with appropriate result.", }; Sysout.createDialog(); Sysout.printInstructions(instructions); } static Frame mainFrame; public static void initTestWindow() { mainFrame = new Frame(); mainFrame.setTitle("TestWindow"); ! mainFrame.setBounds(700, 10, 300, 300); mainFrame.addMouseListener(new MouseAdapter() { @Override public void mousePressed(MouseEvent e) { int ex = e.getModifiersEx(); if ((ex & InputEvent.ALT_GRAPH_DOWN_MASK) == 0) {
< prev index next >