01: package net.xoetrope.xui.test;
02:
03: import java.applet.Applet;
04: import java.awt.Frame;
05: import junit.framework.TestCase;
06:
07: /**
08: * Title: Xui
09: * Description:
10: * Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
11: * Company: Xoetrope Ltd.
12: * @author Xoetrope Ltd.
13: * @version 1.0
14: */
15:
16: public class TestXApplet extends TestCase {
17:
18: Frame frame;
19:
20: public TestXApplet() {
21: }
22:
23: public void testApplet() {
24: frame = new Frame("XApplet Test");
25: frame.setSize(800, 600);
26: AppletTester applet = new AppletTester();
27: frame.add(applet);
28: frame.setVisible(true);
29: frame.show();
30: }
31: }
|