JavaJTableJTree

所属分类:Java编程
开发工具:Java
文件大小:394KB
下载次数:83
上传日期:2006-04-01 19:42:42
上 传 者ddxxqq413
说明:  刚开始看到这个题目的时候,我并不是十分明白自己要做什么。Java语言是我们这个学期刚刚学过的课程,但是我们所学的都是些基本的东西,而且没有涉及到控件的问题。我查阅了一些资料,终于大体了解JTable和JTree是Swing组件里面的控件,一个是远程表,一个是目录树。在了解了一些关于这两个控件的一些知识之后,脑海中大体出现了一些流程。 我的程序设计大致按照下列流程进行:    1. 引入Awt包,Swing包    2. 设置顶层容器    3. 设置按钮和标签    4. 向容器中添加组件(JTable和JTree)    5. 进行事件处理 一、 实现过程以及实例解析 题目要求是用Java实现控件,因此我所使用的实现语言就是Java,刚开始我没有了解题目的真正含义,只实现了静态的JTable和JTree控件。 静态JTable是在JavaApplet中实现的,实现的大致过程为:首先建了一个容器,该容器用来获得新建的表格,然后建了一个模板,并给该模板添加滚动条,接着往容器中添加该模板,最后往数组中添加数据,并获取关于表格的相关信息。至此,程序就结束了。
(just beginning to see this subject, I do not quite understand what they ought to do. Java is the language of this semester we just learned in the course, but we have learned are some basic things, but did not address the issue of control. I looked up some information, and finally a general understanding and J Swing JTree component of the controls inside, a remote table is a directory tree. In some understanding on these two controls knowledge, mind there are some general procedures. I generally design the procedures in accordance with the following procedures : 1. Introduction Awt kits, Swing Pack 2. The top three containers installed. Set up four buttons and labels. Adding to the vessel components (J and JTree) 5. For an incident to achieve analytic process and examples of subject is requ)

文件列表:
JavaJTableJTree\实习报告.doc (575488, 2005-07-14)
JavaJTableJTree\源代码\aa.java (6607, 2005-07-14)
JavaJTableJTree\源代码\JTable.html (150, 2005-07-09)
JavaJTableJTree\源代码\JTableDemo.java (969, 2005-07-11)
JavaJTableJTree\源代码\JTree.html (148, 2005-07-09)
JavaJTableJTree\源代码\JTreeDemo.java (1608, 2005-07-13)
JavaJTableJTree\源代码\TableDemo.java (3969, 2005-07-14)
JavaJTableJTree\源代码\Trees.java (2411, 2005-07-12)
JavaJTableJTree\源代码\说明.doc (24064, 2005-07-13)
JavaJTableJTree\源代码 (0, 2006-03-08)
JavaJTableJTree (0, 2006-04-01)

近期下载者

相关文件


收藏者