下载此文档

飞鸽传书(java版)源代码.doc


文档分类:IT计算机 | 页数:约22页 举报非法文档有奖
1/22
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/22 下载此文档
文档列表 文档介绍
飞鸽传书(java版)源代码
//
;
import .*;
import .*;
import .*;
import .*;
public class About extends JDialog {
ClassLoader load=getClass().getClassLoader();
ImageIcon icons=new ImageIcon(("networker/Resource/Msg/"));
String msg=" 课题名称:基于java环境的网络编程\n 作者: 姜力\n 指导老师:颜南明\n 创建时间:2008年4月";
JTextArea area = new JTextArea(msg);
JLabel icon = new JLabel();
int width=310;
int height=185;
public About(JFrame jf) {
super(jf,"关于",true);
Dimension screen=().getScreenSize();
int w=;
int h=;
setBounds( (w-width)/2, (h-height)/2,width,height);
setResizable(false);
Container content=getContentPane();
(null);
);
(icons);

(false);
(new TitledBorder(new EtchedBorder(), "关于此软件", , , null, null));
(false);

(10, 20, 65, 60);
(70, 20, 220, 110);
(icon);
(area);

addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
dispose();
}
});

setVisible(true);
}
}
//
;
import .*;
import .*;
import .*;
import .*;
import .*;
.*;
public class Help extends JDialog implements TreeSelectionListener{
DefaultMutableTreeNode root = new DefaultMutableTreeNode("帮助");
JTree tree = new JTree(root);
DefaultTreeModel model = (DefaultTreeModel)();

JTextArea text = new JTextArea();
JScrollPane scroll = new JScrollPane(text);
JSplitPane splitPane = new JSplitPane(,true,tree,scroll);
int width=500;
int height=380;
public Help(JFrame jf) {
super(jf,"帮助",true);
Dimension screen=

飞鸽传书(java版)源代码 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数22
  • 收藏数0 收藏
  • 顶次数0
  • 上传人luciferios08
  • 文件大小57 KB
  • 时间2017-09-09