< prev index next >

test/javax/swing/JInternalFrame/8020708/bug8020708.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.


  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 import java.awt.Point;
  25 import java.awt.Robot;
  26 import java.awt.Toolkit;
  27 import java.awt.event.InputEvent;
  28 import java.awt.event.KeyEvent;
  29 import java.util.Locale;
  30 import javax.swing.JDesktopPane;
  31 import javax.swing.JFrame;
  32 import javax.swing.JInternalFrame;
  33 import javax.swing.SwingUtilities;
  34 import javax.swing.UIManager;
  35 import sun.awt.SunToolkit;
  36 
  37 /**
  38  * @test

  39  * @bug 8020708
  40  * @author Alexander Scherbatiy
  41  * @summary NLS: mnemonics missing in SwingSet2/JInternalFrame demo
  42  * @library ../../regtesthelpers
  43  * @build Util
  44  * @run main bug8020708
  45  */
  46 public class bug8020708 {
  47 
  48     private static final Locale[] SUPPORTED_LOCALES = {
  49         Locale.ENGLISH,
  50         new Locale("de"),
  51         new Locale("es"),
  52         new Locale("fr"),
  53         new Locale("it"),
  54         new Locale("ja"),
  55         new Locale("ko"),
  56         new Locale("pt", "BR"),
  57         new Locale("sv"),
  58         new Locale("zh", "CN"),




  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 import java.awt.Point;
  25 import java.awt.Robot;
  26 import java.awt.Toolkit;
  27 import java.awt.event.InputEvent;
  28 import java.awt.event.KeyEvent;
  29 import java.util.Locale;
  30 import javax.swing.JDesktopPane;
  31 import javax.swing.JFrame;
  32 import javax.swing.JInternalFrame;
  33 import javax.swing.SwingUtilities;
  34 import javax.swing.UIManager;
  35 import sun.awt.SunToolkit;
  36 
  37 /**
  38  * @test
  39  * @key headful
  40  * @bug 8020708
  41  * @author Alexander Scherbatiy
  42  * @summary NLS: mnemonics missing in SwingSet2/JInternalFrame demo
  43  * @library ../../regtesthelpers
  44  * @build Util
  45  * @run main bug8020708
  46  */
  47 public class bug8020708 {
  48 
  49     private static final Locale[] SUPPORTED_LOCALES = {
  50         Locale.ENGLISH,
  51         new Locale("de"),
  52         new Locale("es"),
  53         new Locale("fr"),
  54         new Locale("it"),
  55         new Locale("ja"),
  56         new Locale("ko"),
  57         new Locale("pt", "BR"),
  58         new Locale("sv"),
  59         new Locale("zh", "CN"),


< prev index next >