< prev index next >

test/javax/swing/JTree/4908142/bug4908142.java

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


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

  27  * @bug 4908142
  28  * @summary JList doesn't handle search function appropriately
  29  * @author Andrey Pikalev
  30  * @library ../../regtesthelpers
  31  * @build Util
  32  * @run main bug4908142
  33  */
  34 import javax.swing.*;
  35 import javax.swing.tree.*;
  36 import java.awt.*;
  37 import java.awt.event.*;
  38 import java.util.concurrent.Callable;
  39 
  40 public class bug4908142 {
  41 
  42     private static JTree tree;
  43 
  44     public static void main(String[] args) throws Exception {
  45 
  46         Robot robot = new Robot();




   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 /*
  26  * @test
  27  * @key headful
  28  * @bug 4908142
  29  * @summary JList doesn't handle search function appropriately
  30  * @author Andrey Pikalev
  31  * @library ../../regtesthelpers
  32  * @build Util
  33  * @run main bug4908142
  34  */
  35 import javax.swing.*;
  36 import javax.swing.tree.*;
  37 import java.awt.*;
  38 import java.awt.event.*;
  39 import java.util.concurrent.Callable;
  40 
  41 public class bug4908142 {
  42 
  43     private static JTree tree;
  44 
  45     public static void main(String[] args) throws Exception {
  46 
  47         Robot robot = new Robot();


< prev index next >