freehell

java 的抽象窗体工具包

import java.awt.*;
public class frm extends Frame{
   private Botton quit=new Bottom("Quit");
   public frm(){

      super("test window");
      add(quit);
      pack();
      setVisible(true);

}
public static void main(String[] args){


      frm duixiang=new frm();
}

}

//找不到原因,就是不出结果,

希望大家给出评论,谢!

posted on 2009-09-22 18:07  freehell  阅读(140)  评论(0编辑  收藏  举报

导航