2362N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 2129N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2129N/A * This code is free software; you can redistribute it and/or modify it 2129N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 2129N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 2129N/A * This code is distributed in the hope that it will be useful, but WITHOUT 2129N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2129N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2129N/A * version 2 for more details (a copy is included in the LICENSE file that 2129N/A * You should have received a copy of the GNU General Public License version 2129N/A * 2 along with this work; if not, write to the Free Software Foundation, 2129N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 2129N/A @summary Tests basic DnD functionality in an applet 2129N/A @author Your Name: Alexey Utkin area=dnd 2129N/A "The applet window contains a red field.",
2129N/A "1. Start MS Outlook program. Find and open ",
2129N/A " the mail form with attachments.",
2129N/A "2. Select attachments from the mail and drag into a red field of applet.",
2129N/A " When the mouse enters the field during the drag, the application ",
2129N/A " should change the cursor form to OLE-copy and field color to yellow.",
2129N/A "3. Release the mouse button (drop attachments) over the field.",
2129N/A "File paths in temporary folder should appear.",
2129N/A "You should be able to repeat this operation multiple times.",
2129N/A "Please, select \"Pass\" just in case of success or \"Fail\" for another." 2129N/A/**************************************************** 2129N/A DO NOT modify anything below -- it's a standard 2129N/A chunk of code whose purpose is to make user 2129N/A interaction uniform, and thereby make it simpler 2129N/A to read and understand someone else's test. 2129N/A ****************************************************/ 2129N/A //DO NOT call this directly, go through Sysout 2129N/A //DO NOT call this directly, go through Sysout 2129N/A //Clear out any current instructions 2129N/A //Go down array of instruction strings 2129N/A //chop up each into pieces maxSringLength long 2129N/A //if longer than max then chop off first max chars to print 2129N/A //Try to chop on a word boundary 2129N/A //DO NOT call this directly, go through Sysout