test/java/awt/Mixing/AWT_Mixing/JComboBoxOverlapping.java

Print this page

        

@@ -28,20 +28,24 @@
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import javax.swing.BoxLayout;
 import javax.swing.JComboBox;
 import javax.swing.JFrame;
+import test.java.awt.regtesthelpers.Util;
+
 
 /**
  * AWT/Swing overlapping test for {@link javax.swing.JCombobox } component.
  * <p>This test creates combobox and test if heavyweight component is drawn correctly then dropdown is shown.
  * <p>See base class for details.
  */
 /*
 @test
 @summary Overlapping test for javax.swing.JScrollPane
 @author sergey.grinev@oracle.com: area=awt.mixing
+@library ../../regtesthelpers
+@build Util
 @run main JComboBoxOverlapping
  */
 public class JComboBoxOverlapping extends OverlappingTestBase {
 
     private boolean lwClicked = false;