< prev index next >

test/javax/swing/JPopupMenu/6800513/bug6800513.java

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

This is a backport of fe58d505fffd from jdk9. 228/596 hunks apply without
modifications. 16 hunks required manual rework. The remainder were for files
not present in jdk8u.


   7  * under the terms of the GNU General Public License version 2 only, as
   8  * published by the Free Software Foundation.
   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 /*
  26  * @test

  27  * @bug 6800513
  28  * @summary GTK-LaF renders menus incompletely
  29  * @author Mario Torre
  30  * @library ../../regtesthelpers/
  31  * @build Util
  32  * @run main bug6800513
  33  */
  34 
  35 import sun.awt.SunToolkit;
  36 
  37 import javax.swing.*;
  38 import java.awt.*;
  39 import java.awt.event.InputEvent;
  40 import java.beans.PropertyChangeEvent;
  41 import java.beans.PropertyChangeListener;
  42 import java.lang.reflect.Field;
  43 import java.util.concurrent.Callable;
  44 
  45 public class bug6800513 {
  46 




   7  * under the terms of the GNU General Public License version 2 only, as
   8  * published by the Free Software Foundation.
   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 /*
  26  * @test
  27  * @key headful
  28  * @bug 6800513
  29  * @summary GTK-LaF renders menus incompletely
  30  * @author Mario Torre
  31  * @library ../../regtesthelpers/
  32  * @build Util
  33  * @run main bug6800513
  34  */
  35 
  36 import sun.awt.SunToolkit;
  37 
  38 import javax.swing.*;
  39 import java.awt.*;
  40 import java.awt.event.InputEvent;
  41 import java.beans.PropertyChangeEvent;
  42 import java.beans.PropertyChangeListener;
  43 import java.lang.reflect.Field;
  44 import java.util.concurrent.Callable;
  45 
  46 public class bug6800513 {
  47 


< prev index next >