< prev index next >

test/javax/swing/JComponent/7154030/bug7154030.java

Print this page
rev 14989 : 8160974: [TESTBUG] Mark more headful tests with @key headful.


  23 
  24 /*
  25  * Portions Copyright (c) 2012 IBM Corporation
  26  */
  27 
  28 import javax.swing.JButton;
  29 import javax.swing.JDesktopPane;
  30 import javax.swing.JFrame;
  31 import javax.swing.SwingUtilities;
  32 
  33 import java.awt.AWTException;
  34 import java.awt.AlphaComposite;
  35 import java.awt.Color;
  36 import java.awt.Graphics;
  37 import java.awt.Graphics2D;
  38 import java.awt.Rectangle;
  39 import java.awt.Robot;
  40 import java.awt.Toolkit;
  41 import java.awt.image.BufferedImage;
  42 
  43 /* @test 1.1 2012/04/12


  44  * @bug 7154030
  45  * @summary Swing components fail to hide after calling hide()
  46  * @author Jonathan Lu
  47  * @library ../../regtesthelpers/
  48  * @library ../../../../lib/testlibrary/
  49  * @build Util
  50  * @build ExtendedRobot
  51  * @run main bug7154030
  52  */
  53 
  54 public class bug7154030 {
  55 
  56     private static JButton button = null;
  57 
  58     public static void main(String[] args) throws Exception {
  59         BufferedImage imageInit = null;
  60 
  61         BufferedImage imageShow = null;
  62 
  63         BufferedImage imageHide = null;




  23 
  24 /*
  25  * Portions Copyright (c) 2012 IBM Corporation
  26  */
  27 
  28 import javax.swing.JButton;
  29 import javax.swing.JDesktopPane;
  30 import javax.swing.JFrame;
  31 import javax.swing.SwingUtilities;
  32 
  33 import java.awt.AWTException;
  34 import java.awt.AlphaComposite;
  35 import java.awt.Color;
  36 import java.awt.Graphics;
  37 import java.awt.Graphics2D;
  38 import java.awt.Rectangle;
  39 import java.awt.Robot;
  40 import java.awt.Toolkit;
  41 import java.awt.image.BufferedImage;
  42 
  43 /*
  44  * @test
  45  * @key headful
  46  * @bug 7154030
  47  * @summary Swing components fail to hide after calling hide()
  48  * @author Jonathan Lu
  49  * @library ../../regtesthelpers/
  50  * @library ../../../../lib/testlibrary/
  51  * @build Util
  52  * @build ExtendedRobot
  53  * @run main bug7154030
  54  */
  55 
  56 public class bug7154030 {
  57 
  58     private static JButton button = null;
  59 
  60     public static void main(String[] args) throws Exception {
  61         BufferedImage imageInit = null;
  62 
  63         BufferedImage imageShow = null;
  64 
  65         BufferedImage imageHide = null;


< prev index next >