/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
This is a part of MissedHtmlAndRtfBug.html test. Do not add any JTREG tags here
bug 8005932
summary Java 7 on mac os x only provides text clipboard formats
author mikhail.cherkasov@oracle.com
*/
public void init() {
setLayout(new BorderLayout());
}//End init()
public void start() {
return;
}
sourceFrame.pack();
public void windowClosing(WindowEvent e) {
}
});
sourceFrame.setVisible(true);
args.add(String.valueOf(AbsoluteComponentCenterCalculator.calculateXCenterCoordinate(sourcePanel)));
args.add(String.valueOf(AbsoluteComponentCenterCalculator.calculateYCenterCoordinate(sourcePanel)));
// ProcessCommunicator.executeChildProcess(this.getClass(), "/Users/mcherkasov/ws/clipboard/DataFlover/out/production/DataFlover" +
// " -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 ",
// args.toArray(new String[0]));
}// start()
}
}
throw new RuntimeException("TEST IS FAILED: Target has received" +
" corrupted data.");
}
}
//We cannot make an instance of the applet without the default constructor
public MissedHtmlAndRtfBug() {
super();
}
//We need in this constructor to pass frame position between JVMs
throws InterruptedException {
public void windowClosing(WindowEvent e) {
}
});
targetFrame.pack();
targetFrame.setVisible(true);
}
try {
sleep(100);
sleep(100);
sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
Util.drag(robot, dragSourcePoint, new Point(AbsoluteComponentCenterCalculator.calculateXCenterCoordinate(targetPanel),
}
enum InterprocessArguments {
}
}
}
Point dragSourcePoint = new Point(InterprocessArguments.DRAG_SOURCE_POINT_X_ARGUMENT.extractInt(args),
Point targetFrameLocation = new Point(InterprocessArguments.TARGET_FRAME_X_POSITION_ARGUMENT.extractInt(args),
try {
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}