【Java开源代码栏目提醒】:网学会员为广大网友收集整理了,winApp.java,希望对大家有所帮助!
package j02100303;
import java.lang.*;
//import java.awt.*; //若要使用 AWT 组件,目前没有
//import javax.swing.*; //若要使用 swing 组件,目前没有
public class winApp
{
theJFrame Frame1;
theJFrame Frame2;
public static void main(String para[])
{
winApp myApp = new winApp();
myApp.Frame1 = new theJFrame(0,0,230,200);
myApp.Frame1.setTitle("This is Frame1");
myApp.Frame2 = new theJFrame(240,0,230,200);
myApp.Frame2.setTitle("This is Frame2");
}
}