- 博客(20)
- 资源 (2)
- 收藏
- 关注
翻译 oreilly java swing : JTable 之Selection Renderer Editor
15.4 Selecting Table EntriesAll this, and all we can do is render and edit data in a table. "What about selecting data?" you ask. Yes, we can do that, too. And, as you might expect,the ListSelecti
2011-10-20 14:48:38 598
oreilly java swing : JTable 之Selection Renderer Editor
15.4 Selecting Table EntriesAll this, and all we can do is render and edit data in a table. "What about selecting data?" you ask. Yes, we can do that, too. And, as you might expect,the ListSelecti...
2011-10-20 14:48:00 64
翻译 oreilly java swing : JTable 之 JTableHeader
15.3.9 The JTableHeader ClassTheJTableHeader class is an extension of JComponent and serves as the header component for tables. It not only dictates the basic color and font used for the header, b
2011-10-20 13:36:41 1018
oreilly java swing : JTable 之 JTableHeader
15.3.9 The JTableHeader ClassTheJTableHeader class is an extension of JComponent and serves as the header component for tables. It not only dictates the basic color and font used for the header, b...
2011-10-20 13:36:00 386
翻译 oreilly java swing : JTable 之 Table Data
15.3 Table DataWe've seen theTableColumnModel, which stores a lot of information about the structure of a table but doesn't contain the actual data. The data that's displayed in aJTable is store
2011-10-20 13:32:09 677
oreilly java swing : JTable 之 Table Data
15.3 Table DataWe've seen theTableColumnModel, which stores a lot of information about the structure of a table but doesn't contain the actual data. The data that's displayed in aJTable is s...
2011-10-20 13:32:00 74
翻译 oreilly java swing : JTable 之TableColumn
15.1.7 The TableColumn ClassThe TableColumn class is the starting point for building your columns. It supplies access to all the basic components of an individual column. This class should not be co
2011-10-20 11:23:56 1963
oreilly java swing : JTable 之TableColumn
15.1.7 The TableColumn ClassThe TableColumn class is the starting point for building your columns. It supplies access to all the basic components of an individual column. This class should not be co...
2011-10-20 11:23:00 260
翻译 oreilly java swing : JTable 之JTable
15.1 The JTable Class15.1.1 Table Columns With Swing tables, the basic unit is not an individual cell but a column. Most columns in real-world tables represent a certain type of informati
2011-10-19 16:14:50 917
oreilly java swing : JTable 之JTable
15.1 The JTable Class15.1.1 Table ColumnsWith Swing tables, the basic unit is not an individual cell but a column. Most columns in real-world tables represent a certain type of information that ...
2011-10-19 16:14:00 158
原创 注意:JTable 渲染器同一列共享
JTable的列渲染器采用的是FlyWeigth模式,今天在写代码的时候,忘记实际数据来源,出现一个问题。原理是因为JTable的渲染器是采用共享模式 所以出现错误情况自定义Renderer代码:/** * 浮点型渲染器 * @author Administr
2011-10-19 14:07:27 1692
注意:JTable 渲染器同一列共享
JTable的列渲染器采用的是FlyWeigth模式,今天在写代码的时候,忘记实际数据来源,出现一个问题。原理是因为JTable的渲染器是采用共享模式 所以出现错误情况自定义Renderer代码:/*** 浮点型渲染器* @author Administrator**/public class GroupDoubleRenderer extends DefaultJ...
2011-10-19 14:07:00 142
原创 Swing JTable复杂报表
Swing JTable实现的复杂报表,无限极分组统计报表,设置表格字体,对齐方式,设置每个单元格宽度等。以及无限极交叉分组报表分组交叉报表,安日期交叉分组统计报表
2011-10-19 13:07:10 3278 9
Swing JTable复杂报表
Swing JTable实现的复杂报表,无限极分组统计报表,设置表格字体,对齐方式,设置每个单元格宽度等。以及无限极交叉分组报表<1>分组交叉报表,安日期交叉<2>分组统计报表...
2011-10-19 13:07:00 197
原创 java xml和string互相转换
使用开源jar包 dom4jpackage com.webdesk.swing.powertable.util;import java.io.ByteArrayInputStream;import java.io.File;import java.
2011-10-13 14:03:33 11041
java xml和string互相转换
使用开源jar包 dom4jpackage com.webdesk.swing.powertable.util;import java.io.ByteArrayInputStream;import java.io.File;import java.io.FileWriter;import java.io.IOException;import org.dom4j.Do...
2011-10-13 14:03:00 184
原创 Sql Server2005数据库可疑
SQL SERVER 2005 数据库状态为“可疑”的解决方法--MyDB为修复的数据名USE MASTERGOSP_CONFIGURE 'ALLOW UPDATES',1 RECONFIGURE WITH OVERRIDEGOALTER DATABA
2011-10-13 13:57:49 541
Sql Server2005数据库可疑
SQL SERVER 2005 数据库状态为“可疑”的解决方法--MyDB为修复的数据名USE MASTERGOSP_CONFIGURE 'ALLOW UPDATES',1 RECONFIGURE WITH OVERRIDEGOALTER DATABASE MyDB SET EMERGENCYGOsp_dboption 'MyDB', 'single user...
2011-10-13 13:57:00 63
原创 Swing鼠标/左击/右击/中击+事件
InputEvent.BUTTON1_MASK (用于鼠标左键) import java.awt.event.InputEvent;import java.awt.event.MouseAdapter;import
2011-10-10 13:25:25 3360
Swing鼠标/左击/右击/中击+事件
InputEvent.BUTTON1_MASK (用于鼠标左键)importjava.awt.event.InputEvent;importjava.awt.event.MouseAdapter;importjava.awt.event.MouseEvent;importjavax.swing.JFrame;importjavax.swing.JTex...
2011-10-10 13:25:00 247
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人