文件名称:JavaJTableJTree
介绍说明--下载内容来自于网络,使用问题请自行百度
刚开始看到这个题目的时候,我并不是十分明白自己要做什么。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
我的程序设计大致按照下列流程进行:
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
JavaJTableJTree/源代码/aa.java
JavaJTableJTree/源代码/JTable.html
JavaJTableJTree/源代码/JTableDemo.java
JavaJTableJTree/源代码/JTree.html
JavaJTableJTree/源代码/JTreeDemo.java
JavaJTableJTree/源代码/TableDemo.java
JavaJTableJTree/源代码/Trees.java
JavaJTableJTree/源代码/说明.doc
JavaJTableJTree/源代码
JavaJTableJTree
www.dssz.com.txt
JavaJTableJTree/源代码/aa.java
JavaJTableJTree/源代码/JTable.html
JavaJTableJTree/源代码/JTableDemo.java
JavaJTableJTree/源代码/JTree.html
JavaJTableJTree/源代码/JTreeDemo.java
JavaJTableJTree/源代码/TableDemo.java
JavaJTableJTree/源代码/Trees.java
JavaJTableJTree/源代码/说明.doc
JavaJTableJTree/源代码
JavaJTableJTree
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.