Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8328370: Convert java/awt/print/Dialog/PrintApplet.java applet test to main #18362

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions test/jdk/java/awt/print/Dialog/PrintModalDialog.java
Original file line number Diff line number Diff line change
@@ -21,16 +21,6 @@
* questions.
*/

/*
* @test
* @bug 5024549
* @key printer
* @library /java/awt/regtesthelpers
* @build PassFailJFrame
* @summary Pass if dialogs are modal.
* @run main/manual PrintModalDialog
*/

import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.event.ActionEvent;
@@ -41,6 +31,16 @@

import javax.swing.JButton;

/*
* @test
* @bug 5024549
* @key printer
* @library /java/awt/regtesthelpers
* @build PassFailJFrame
* @summary Pass if dialogs are modal.
* @run main/manual PrintModalDialog
*/

public class PrintModalDialog {
private static JButton jButton1;
private static final String INSTRUCTIONS =