Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| student:junit:gui [2025/01/26 14:10] – created bernstdh | student:junit:gui [2025/01/30 14:52] (current) – bernstdh | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| - The top-level container must be disposed of (using '' | - The top-level container must be disposed of (using '' | ||
| + | Also, remember not to manually move the mouse or use the keyboard while the tests are being run! | ||
| ===== Button Presses ===== | ===== Button Presses ===== | ||
| Line 114: | Line 115: | ||
| // Test mouse handling | // Test mouse handling | ||
| Robot robot = new Robot(); | Robot robot = new Robot(); | ||
| - | robot.setAutoDelay(50); | + | robot.setAutoDelay(100); |
| robot.setAutoWaitForIdle(true); | robot.setAutoWaitForIdle(true); | ||
| | | ||
| Line 136: | Line 137: | ||
| | | ||
| window.setVisible(false); | window.setVisible(false); | ||
| - | window.dispose(); | + | window.dispose(); |
| } | } | ||
