Skip to content

Commit

Permalink
Update rows
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonGuy committed Mar 22, 2024
1 parent 6cc7fab commit b8968d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jdk/java/awt/print/Dialog/PrintModalDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static void main(String[] args) throws Exception {
.builder()
.title("PrintModalDialog Instructions")
.instructions(INSTRUCTIONS)
.rows(20)
.rows((int) INSTRUCTIONS.lines().count() + 1)
.columns(40)
.splitUIBottom(PrintModalDialog::createAndShowGUI)
.build()
Expand Down

0 comments on commit b8968d0

Please sign in to comment.