Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 2-3 tree
Search - 2-3 tree - List
刚开始看到这个题目的时候,我并不是十分明白自己要做什么。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
Date : 2008-10-13 Size : 393.91kb User : 丁兴全

刚开始看到这个题目的时候,我并不是十分明白自己要做什么。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
Date : 2026-01-04 Size : 394kb User : 丁兴全

切分窗口 1、 实验目的和要求 (1)如图3.1所示是一个有切分窗口的单文档应用程序。左边是树视图,用于显示“学生信息”、“专业”和“班号”3层结构信息。右边是列表视图,以报表的形式显示学生基本信息。 (2)单击图3.1右边视图,选择“学生基本信息”→“添加”菜单命令,弹出“学生基本信息”对话框,单击“添加”按钮,学生基本信息被保存在CObArray类对象m_stuObArray中,同时显示在列表视图中,并自动更新左边树视图的节点内容。 (3)单击左边树视图“学生信息”节点,则在列表视图中全部显示所有学生的基本信息,若单击“专业”节点,则显示所有该专业的学生基本信息,若单击“班号”节点,则显示所有该班级的学生基本信息。 -Split window 1, the experimental purpose and requirements of (1) shown in Figure 3.1 is a single document application of the cut window. The left tree view is used to display the " Student Information" and " professional" and " class" three-layer structure. The right is the list view, show the students the basic information in the form of statements. (2) Click the view of the right in Figure 3.1, select the students ' basic information, " →" Add " menu command to bring up the students' basic information dialog box, click the" Add " button, the students basic information is stored in CObArray class object m_stuObArray , displayed in the list view, and automatically update the content of the left tree view node. (3) click on the left tree view student information node in the list view show all the basic information for all students, click the " professional" node, then all the professional students basic information, click
Date : 2026-01-04 Size : 124kb User : 吉王飞
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.