Skip to content

Commit

Permalink
Move test tags. Remove setVisible
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonGuy committed Mar 25, 2024
1 parent 663c433 commit 9390d0b
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
* questions.
*/

import java.awt.Button;
import java.awt.FlowLayout;
import java.awt.print.PageFormat;
import java.awt.print.PrinterJob;

import javax.swing.JFrame;

/*
* @test
* @bug 4784285 4785920
Expand All @@ -33,13 +40,6 @@
* @run main/manual PrinterDialogsModalityTest
*/

import java.awt.Button;
import java.awt.FlowLayout;
import java.awt.print.PageFormat;
import java.awt.print.PrinterJob;

import javax.swing.JFrame;

public class PrinterDialogsModalityTest {
private static final String INSTRUCTIONS =
"""
Expand Down Expand Up @@ -89,7 +89,6 @@ public static JFrame init() {
frame.add(page);
frame.add(print);
frame.pack();
frame.setVisible(true);
return frame;
}
}

0 comments on commit 9390d0b

Please sign in to comment.