01 2014 档案

摘要:class MyInternalFrame extends JInternalFrame {//类MyInternalFrame继承swing里的类JInternalFrame JTextArea text;//声明文本域对象text MyInternalFrame(String title){//构造方法指定其标题 super(title,true,true,true,true);//调用父类构造,创建具有指定标题、可调整、可关闭、可最大化和可图标化的 JInternalFrame text=new JTextArea();//实例化文本域对象 add(new JScroll... 阅读全文
posted @ 2014-01-03 16:42 菜鸟搞IT 阅读(168) 评论(0) 推荐(0) 编辑