Location:
Search - java tree j
Search list
Description: 刚开始看到这个题目的时候,我并不是十分明白自己要做什么。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
Platform: |
Size: 403359 |
Author: 丁兴全 |
Hits:
Description: 刚开始看到这个题目的时候,我并不是十分明白自己要做什么。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
Platform: |
Size: 403456 |
Author: 丁兴全 |
Hits:
Description: 现在ajax流行,jsp也可以ajax,请看ajax+JSP的BLOG源码.zip-now ajax pandemic, jsp can ajax. See the BLOG ajax JSP source. zip
Platform: |
Size: 4365312 |
Author: xjh |
Hits:
Description: 用图形用户界面表示的图,数据结构基本应用,最小生成树算法,最短路径,广度、深度优先搜索-graphical user interface with the plan said, the basic data structure application, the minimum spanning tree algorithm, the shortest path, breadth, depth-first search
Platform: |
Size: 61440 |
Author: 张旭 |
Hits:
Description: jsp + xml实现treeview,用很少代码就能实现,超级简单-jsp+ xml achieve treeview, with very little code can achieve, super simple
Platform: |
Size: 502784 |
Author: jinxin |
Hits:
Description: 北大青鸟的jsp版本的BBS,使用的是SQL Server 2005数据库,里面实现了分页,动态生成树结构等,而且页面效果也非常的美观。-Beida Jade Bird jsp version of the BBS, you are using SQL Server 2005 database, which has paging, dynamic spanning tree structure, and the page is also very beautiful effect.
Platform: |
Size: 1689600 |
Author: 朱治龙 |
Hits:
Description: 深度优先,广度优先,最短路径,最小生成树的图形演示以及源代码-Depth-first, breadth-first, shortest path, minimum spanning tree, as well as graphical presentation source
Platform: |
Size: 84992 |
Author: 沈扬 |
Hits: