自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

tof

more see,more think,more practice,more summary

  • 博客(20)
  • 资源 (2)
  • 收藏
  • 关注

翻译 oreilly java swing : JTable 之Selection Renderer Editor

15.4 Selecting Table Entries All 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 Entries All 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 Class The JTableHeader 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 Class The JTableHeader 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 Data We've seen the TableColumnModel, 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 a JTable is store

2011-10-20 13:32:09 677

oreilly java swing : JTable 之 Table Data

15.3 Table Data We've seen the TableColumnModel, 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 a JTable is s...

2011-10-20 13:32:00 74

翻译 oreilly java swing : JTable 之TableColumn

15.1.7 The TableColumn Class The 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 Class The 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 259

翻译 oreilly java swing : JTable 之JTable

15.1 The JTable Class 15.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 916

oreilly java swing : JTable 之JTable

15.1 The JTable Class 15.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 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包 dom4j package 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包 dom4j package 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 MASTER GO SP_CONFIGURE 'ALLOW UPDATES',1 RECONFIGURE WITH OVERRIDE GO ALTER DATABA

2011-10-13 13:57:49 541

Sql Server2005数据库可疑

SQL SERVER 2005 数据库状态为“可疑”的解决方法 --MyDB为修复的数据名 USE MASTER GO SP_CONFIGURE 'ALLOW UPDATES',1 RECONFIGURE WITH OVERRIDE GO ALTER DATABASE MyDB SET EMERGENCY GO sp_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

idea快捷键操作文档

idea快捷键操作文档

2023-02-14

重构到模式

重构与模式,如何使用重构模式,是坏代码变得可维护。

2018-09-08

postgres数据库odbc数据源

postgres数据库odbc数据源 用于odbc连接postgres数据库

2011-09-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除