< prev index next >

test/javax/swing/text/TableView/I18nLayoutTest.java

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


   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 /*
  25  * @test

  26  * @bug 8133864
  27  * @summary  Wrong display, when the document I18n properties is true.
  28  * @author Semyon Sadetsky
  29  * @run main I18nLayoutTest
  30  */
  31 
  32 import javax.swing.*;
  33 import javax.swing.text.*;
  34 import java.awt.*;
  35 import java.util.ArrayList;
  36 
  37 public class I18nLayoutTest extends JFrame {
  38 
  39     private static int height;
  40     JEditorPane edit = new JEditorPane();
  41     private static I18nLayoutTest frame;
  42 
  43     public I18nLayoutTest() {
  44         super("Code example for a TableView bug");
  45         setUndecorated(true);




   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 /*
  25  * @test
  26  * @key headful
  27  * @bug 8133864
  28  * @summary  Wrong display, when the document I18n properties is true.
  29  * @author Semyon Sadetsky
  30  * @run main I18nLayoutTest
  31  */
  32 
  33 import javax.swing.*;
  34 import javax.swing.text.*;
  35 import java.awt.*;
  36 import java.util.ArrayList;
  37 
  38 public class I18nLayoutTest extends JFrame {
  39 
  40     private static int height;
  41     JEditorPane edit = new JEditorPane();
  42     private static I18nLayoutTest frame;
  43 
  44     public I18nLayoutTest() {
  45         super("Code example for a TableView bug");
  46         setUndecorated(true);


< prev index next >