Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
azvegint committed Mar 12, 2024
1 parent b43ce26 commit e1b9422
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions test/jdk/java/awt/FileDialog/RegexpFilterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,19 @@ public class RegexpFilterTest {
""";

public static void main(String[] args) throws Exception {
new PassFailJFrame.Builder()
.title("RegexpFilterTest Instructions")
.instructions(INSTRUCTIONS)
.splitUIRight(() -> {
JButton show = new JButton("show");
show.addActionListener(e ->
new FileDialog(new Frame()).setVisible(true));
return show;
})
.rows(15)
.columns(40)
.build()
.awaitAndCheck();
PassFailJFrame
.builder()
.title("RegexpFilterTest Instructions")
.instructions(INSTRUCTIONS)
.splitUIRight(() -> {
JButton show = new JButton("show");
show.addActionListener(e ->
new FileDialog((Frame) null).setVisible(true));
return show;
})
.rows(15)
.columns(40)
.build()
.awaitAndCheck();
}
}

0 comments on commit e1b9422

Please sign in to comment.