1 /* 2 test %I% %E% 3 @bug 6315717 4 @summary presses buttons in all permutations and verifies modifiers 5 @author Andrei Dmitriev : area=awt.mouse 6 @run main ModifierPermutation 7 */ 8 //package modifierpermutation; 9 10 /* 11 The test will try to press-release every button present on the mouse in different order. 12 Here are some abbreviations: 13 BUTTON1 press = P1 14 BUTTON2 press = P2 etc. 15 BUTTON1 release = R1 16 BUTTON2 release = R2 etc. 17 Only sequences alike below are possible : <P1, P2, R2, R1>. 18 Sequences like <P1, P2, R1, R2> will not be covered by this test due to its probable complexity. 19 */ 20 21 import java.awt.*; | 1 /* 2 * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 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 /* 25 test %I% %E% 26 @bug 6315717 27 @summary presses buttons in all permutations and verifies modifiers 28 @author Andrei Dmitriev : area=awt.mouse 29 @run main ModifierPermutation 30 */ 31 //package modifierpermutation; 32 33 /* 34 The test will try to press-release every button present on the mouse in different order. 35 Here are some abbreviations: 36 BUTTON1 press = P1 37 BUTTON2 press = P2 etc. 38 BUTTON1 release = R1 39 BUTTON2 release = R2 etc. 40 Only sequences alike below are possible : <P1, P2, R2, R1>. 41 Sequences like <P1, P2, R1, R2> will not be covered by this test due to its probable complexity. 42 */ 43 44 import java.awt.*; |