< prev index next >

test/java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_3.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 6479820
  27   @library ../../../regtesthelpers
  28   @build Util
  29   @summary verify that enter/exit events still comes correctly
  30   @author andrei dmitriev: area=awt.event
  31   @run main SpuriousExitEnter_3
  32 */
  33 
  34 /**
  35  * SpuriousExitEnter_3.java
  36  *
  37             "There is a plain JFrame with JButton in it.",
  38             "Let A area is the area inside JButton.",
  39             "Let B area is the area inside JFrame but not inside JButton.",
  40             "Let C area is the area outside JFrame.",
  41             "Now check that the correct events and are in the correct number generates when you",
  42             "move the pointer between those areas.",
  43             " 1) Verify that the Enter and Exit events comes to JButton and JFrame when ",
  44             " you move the pointer between A and B areas.",
  45             " 2) Verify that the Enter and Exit events comes to JButton when you",




   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 6479820
  28   @library ../../../regtesthelpers
  29   @build Util
  30   @summary verify that enter/exit events still comes correctly
  31   @author andrei dmitriev: area=awt.event
  32   @run main SpuriousExitEnter_3
  33 */
  34 
  35 /**
  36  * SpuriousExitEnter_3.java
  37  *
  38             "There is a plain JFrame with JButton in it.",
  39             "Let A area is the area inside JButton.",
  40             "Let B area is the area inside JFrame but not inside JButton.",
  41             "Let C area is the area outside JFrame.",
  42             "Now check that the correct events and are in the correct number generates when you",
  43             "move the pointer between those areas.",
  44             " 1) Verify that the Enter and Exit events comes to JButton and JFrame when ",
  45             " you move the pointer between A and B areas.",
  46             " 2) Verify that the Enter and Exit events comes to JButton when you",


< prev index next >