equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
37 * AWT/Swing overlapping test for {@link javax.swing.JCombobox } component. |
37 * AWT/Swing overlapping test for {@link javax.swing.JCombobox } component. |
38 * <p>This test creates combobox and test if heavyweight component is drawn correctly then dropdown is shown. |
38 * <p>This test creates combobox and test if heavyweight component is drawn correctly then dropdown is shown. |
39 * <p>See base class for details. |
39 * <p>See base class for details. |
40 */ |
40 */ |
41 /* |
41 /* |
42 @test |
42 * @test |
43 @summary Overlapping test for javax.swing.JScrollPane |
43 * @key headful |
44 @author sergey.grinev@oracle.com: area=awt.mixing |
44 * @summary Overlapping test for javax.swing.JScrollPane |
45 @library /java/awt/patchlib ../../regtesthelpers |
45 * @author sergey.grinev@oracle.com: area=awt.mixing |
46 @modules java.desktop/sun.awt |
46 * @library /java/awt/patchlib ../../regtesthelpers |
47 java.desktop/java.awt.peer |
47 * @modules java.desktop/sun.awt |
48 @build java.desktop/java.awt.Helper |
48 * java.desktop/java.awt.peer |
49 @build Util |
49 * @build java.desktop/java.awt.Helper |
50 @run main JComboBoxOverlapping |
50 * @build Util |
|
51 * @run main JComboBoxOverlapping |
51 */ |
52 */ |
52 public class JComboBoxOverlapping extends OverlappingTestBase { |
53 public class JComboBoxOverlapping extends OverlappingTestBase { |
53 |
54 |
54 private boolean lwClicked = false; |
55 private boolean lwClicked = false; |
55 private Point loc; |
56 private Point loc; |