home *** CD-ROM | disk | FTP | other *** search
- import com.ms.wfc.app.Application;
- import com.ms.wfc.ui.Control;
- import com.ms.wfc.ui.Form;
- import com.ms.wfc.ui.HTMLControl;
- import com.ms.wfc.ui.Point;
-
- public class test extends Form {
- public test() {
- this.initForm();
- ((Form)this).setVisible(true);
- }
-
- private void initForm() {
- ((Control)this).setText("test");
- ((Form)this).setAutoScaleBaseSize(new Point(5, 13));
- ((Control)this).setClientSize(new Point(477, 238));
- ((Form)this).setTopMost(true);
- HTMLControl var1 = new HTMLControl();
- var1.setURL("http://www.opencube.com");
- }
-
- public static void launchWindow() {
- Application.run(new test());
- }
-
- public void dispose() {
- super.dispose();
- }
- }
-