< prev index next >

test/javax/swing/JTable/7055065/bug7055065.java

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


   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  * Portions Copyright (c) 2012 IBM Corporation
  26  */
  27 
  28 /* @test 1.1 2012/04/19


  29  * @bug 7055065
  30  * @summary NullPointerException when sorting JTable with empty cell
  31  * @author Jonathan Lu
  32  * @library ../../regtesthelpers/
  33  * @build Util
  34  * @run main bug7055065
  35  */
  36 
  37 import java.awt.Dimension;
  38 import java.awt.Point;
  39 import java.awt.Rectangle;
  40 import java.awt.Robot;
  41 import java.awt.event.InputEvent;
  42 import java.awt.event.KeyEvent;
  43 import javax.swing.JFrame;
  44 import javax.swing.JPanel;
  45 import javax.swing.JScrollPane;
  46 import javax.swing.JTable;
  47 import javax.swing.SwingUtilities;
  48 import javax.swing.table.AbstractTableModel;




   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  * Portions Copyright (c) 2012 IBM Corporation
  26  */
  27 
  28 /*
  29  * @test
  30  * @key headful
  31  * @bug 7055065
  32  * @summary NullPointerException when sorting JTable with empty cell
  33  * @author Jonathan Lu
  34  * @library ../../regtesthelpers/
  35  * @build Util
  36  * @run main bug7055065
  37  */
  38 
  39 import java.awt.Dimension;
  40 import java.awt.Point;
  41 import java.awt.Rectangle;
  42 import java.awt.Robot;
  43 import java.awt.event.InputEvent;
  44 import java.awt.event.KeyEvent;
  45 import javax.swing.JFrame;
  46 import javax.swing.JPanel;
  47 import javax.swing.JScrollPane;
  48 import javax.swing.JTable;
  49 import javax.swing.SwingUtilities;
  50 import javax.swing.table.AbstractTableModel;


< prev index next >