Skip to content

Commit

Permalink
8226230: Test javax/swing/JInternalFrame/8020708/bug8020708.java fail…
Browse files Browse the repository at this point in the history
…s on Ubuntu

Reviewed-by: serb
  • Loading branch information
prsadhuk committed Mar 19, 2020
1 parent 9874e69 commit 3340e6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/jdk/javax/swing/JInternalFrame/8020708/bug8020708.java
Expand Up @@ -87,6 +87,8 @@ static void testInternalFrameMnemonic() throws Exception {
public void run() {
frame = new JFrame("Test");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setUndecorated(true);
frame.setLocationRelativeTo(null);
frame.setSize(300, 200);

JDesktopPane desktop = new JDesktopPane();
Expand Down Expand Up @@ -132,6 +134,7 @@ public void run() {
frame.dispose();
}
});
robot.delay(500);
}

static final boolean installLookAndFeel(String lafName) throws Exception {
Expand Down

0 comments on commit 3340e6f

Please sign in to comment.