*** 31,40 **** --- 31,41 ---- import javax.swing.JButton; /** * @test * @bug 6815345 + * @key headful * @run main CreateImage * @run main/othervm -Djava.awt.headless=true CreateImage */ public final class CreateImage {