< prev index next >

test/javax/swing/JInternalFrame/6725409/bug6725409.java

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


   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  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 /* @test

  25  * @bug 6725409
  26  * @summary Checks that JInternalFrame's system menu
  27  *          can be localized during run-time
  28  * @author Mikhail Lapshin
  29  * @library ../../../../lib/testlibrary/
  30  * @modules java.desktop/com.sun.java.swing.plaf.windows
  31  * @build ExtendedRobot
  32  * @run main bug6725409
  33  */
  34 
  35 import javax.swing.*;
  36 import java.awt.*;
  37 
  38 public class bug6725409 {
  39     private JFrame frame;
  40     private JInternalFrame iFrame;
  41     private TestTitlePane testTitlePane;
  42     private boolean passed;
  43     private static ExtendedRobot robot = createRobot();
  44 




   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  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 /* @test
  25  * @key headful
  26  * @bug 6725409
  27  * @summary Checks that JInternalFrame's system menu
  28  *          can be localized during run-time
  29  * @author Mikhail Lapshin
  30  * @library ../../../../lib/testlibrary/
  31  * @modules java.desktop/com.sun.java.swing.plaf.windows
  32  * @build ExtendedRobot
  33  * @run main bug6725409
  34  */
  35 
  36 import javax.swing.*;
  37 import java.awt.*;
  38 
  39 public class bug6725409 {
  40     private JFrame frame;
  41     private JInternalFrame iFrame;
  42     private TestTitlePane testTitlePane;
  43     private boolean passed;
  44     private static ExtendedRobot robot = createRobot();
  45 


< prev index next >