Location:
Search - swing JTable
Search list
Description: 用swing技术作的一个表单的小例子,学习java swing方面的可以做个参考
Platform: |
Size: 2052 |
Author: josean |
Hits:
Description: 基于jBuilder 9.0的swing控件大全集合编程,包括了基本的控件和jtable,jtree等重要的控件,有很大帮助-based on the swing set Encyclopaedia programming controls, including the basic controls and jtable, jtree as an important component, is very helpful
Platform: |
Size: 28672 |
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: tame,扩展了好多SWing组件:JTable,有拆分单元个,列分组,调整行高,还有menu,combobox,button,border-tame, expanding a lot SWing components : JTable, separation module, a series, adjust, there are menu, combobox, button, border, etc.
Platform: |
Size: 130048 |
Author: 小雪 |
Hits:
Description:
Platform: |
Size: 77824 |
Author: bin |
Hits:
Description: 用swing技术作的一个表单的小例子,学习java swing方面的可以做个参考-Swing technique used for a small example form learn java swing area can be a reference
Platform: |
Size: 2048 |
Author: josean |
Hits:
Description: JAVA SWING的各种应用,包括基本组件和高级组件TREE和JTABLE等,同时也有组件外观的事例。-JAVA SWING applications, including basic components and high-level components such as TREE and JTABLE, but also examples of the appearance of components.
Platform: |
Size: 2079744 |
Author: 马栋 |
Hits:
Description: 这个程序是用Java Swing实现,主要是较为完善地采用MVC模式设计,能够对Access数据库中的通信录进行增删改等操作,同时能够对通信录的各个字段在JTable中进行排序。-This program is Java Swing implementation, are mostly of a perfect use of MVC design pattern can the communication of the Access database, change was recorded for additions and deletions and other operations at the same time can be recorded in the various fields of communication carried out in the JTable sort.
Platform: |
Size: 94208 |
Author: 张亚航 |
Hits:
Description: Ext.ProgressColumn (在线demo 效果见下图)是Web用户界面组件包ExtJS 的一个用户扩展。本文中使用Swing组件包中JTable对ProgressColumn的特性进行了模拟,从而使其可以运行在Java平台上。并结合实例演示了如何自定义绘制器、编辑器和比较器。-Ext.ProgressColumn (online demo results see below) is a Web User Interface Package ExtJS extension of a user. Swing components used in this package JTable right ProgressColumn the characteristics of the simulation, so that it can run on Java platform. Combined with examples demonstrate how to customize the draw, editor and comparators.
Platform: |
Size: 17408 |
Author: caojie |
Hits:
Description: JTable,一些Swing应用实例Java源码包-JTable, a number of examples of Java Swing application source package
Platform: |
Size: 242688 |
Author: 王要世 |
Hits:
Description: While dealing with JTable you come across two main features
1)JTable
2)TableModel
With JTable you can display the data. You can allow the user to edit the data.
The tableModel takes care of the data to be displayed using JTable.
The JTable is normally added in <I>JScrollPane</I>. So when the rows get exceeded display area, the scrollbars of the scrollpane automatically gets activated.
you have to
import javax.swing.table.*
See Below Code in which there are 4 JButtons
1)Add Row
2)Delete Row
3)GetValue
4)SetValue
Using those buttons you can create a row,delete a row at runtime.
getValue returns value at particular cell while
setValue sets the value at particular cell
plus other important JTable related methods are discussed below.
see the code below (tableExample.java).
Platform: |
Size: 2048 |
Author: Ryo |
Hits:
Description: Swing中JTable控件的使用实例,可以帮助快速熟悉JTable-Swing JTable control the use of examples to help quickly familiar with the JTable
Platform: |
Size: 163840 |
Author: hh |
Hits:
Description: JAVA中的SWING应用实现简单的JTable和JTr-JAVA SWING application in the realization of a simple JTable and JTree
Platform: |
Size: 84992 |
Author: 吴祥 |
Hits:
Description: java中 swingjtable教学篇
java swing jtable 应用
-Teaching posts in swingjtable java java swing jtable Application
Platform: |
Size: 4096 |
Author: 哈哈 |
Hits:
Description: Swing表格JTable支持滚动,Swing表格JTable不支持滚动-Swing JTable support form rolling, Swing JTable table does not support rolling
Platform: |
Size: 1024 |
Author: 夏江 |
Hits:
Description: java swing 的动态JTable表头单元格合并,用户能任意的选择要合并的行和列-Dynamic java swing JTable header cell merge, the user can select any combination of the rows and columns
Platform: |
Size: 49152 |
Author: 黎苑文 |
Hits:
Description: java Swing Jtable的两种方法初始化例子,而且有渲染效果-Java Swing Jtable two methods of initialization example, and rendering
Platform: |
Size: 18432 |
Author: 李炳泉 |
Hits:
Description: java swing合并单元格思路
主要是jtable的-jtable span
some
Platform: |
Size: 8192 |
Author: yhwang |
Hits:
Description: swing的一个小例子,主要是jtable和jtree的例子,希望对大家有用-a small example of the swing jtable and jtree example, we hope to useful
Platform: |
Size: 352256 |
Author: 王丽婷 |
Hits:
Description: 初学Mina,自己练手的一个小项目,使用Mina +Swing + Hibernate + MySQL + Wox,数据库脚本在客户端的shopping_db文件夹里。实现了商品购买的功能,四个界面,登录,注册,购物车,在购物车界面使用JDialog通过点击按钮事件显示商品列表界面,实现多选择商品功能。个人觉得服务端Mina与hibernate的结合比较容易理解,客户端要使用到回调接口,有点小麻烦,不过想通了还是比较容易的,难在在不同的项目里融会贯通灵活运用所学知识,欢迎大家下载指正,共同学习!Q:798013375-Shopping System:
Mina+Swing(JTable,JDialog)Hibernate+MySQL+Wox
The function of the project implementation:UserLogin,UserRegist,productList,ShoppingCart。
Database scripts in the folder of name shopping_db .
Platform: |
Size: 8126464 |
Author: zhangmanman |
Hits: