- 浏览: 157397 次
- 性别:
- 来自: 武汉
最新评论
-
kevonwang:
太震撼了,非常感谢,让我对Swing有了一个全新的认识。
Swing是一把刀 -
james7808:
[align=left][/align][color=blue ...
java字符串和字节数组之间的转换 -
navytao:
楼主,能不能发一份源码,非常感谢!jacytao@163.co ...
Swing JTable超复杂报表(二) -
bigkylin:
求源码,lipeng_jun@126.com
Swing JTable超复杂报表(二) -
lost-bear:
楼主!!求发份源码啊!感激不尽!296821349@qq.co ...
Swing JTable超复杂报表(二)
文章列表
大数据技术炙手可热 专业人才短缺成发展掣肘
2011-11-25 09:29 | 1765次阅读 | 【已有0条评论】发表评论
来源:CSDN编译 | 作者:李智 | 收藏到我的网摘
导读:尽管还存在安全等问题,但Hadoop已经为部署在大企业中的大型 ...
- 2011-11-25 11:13
- 浏览 736
- 评论(0)
本文摘要自CSDN 2002年某期程序员
<1>计算机专业英语 高等教育
<2>计算机英语 机械
看中文文档肯定比都英文方便,节省时间,但从长期的发展来看,弊大于利。做软件开发的人,应该深有体会,毕竟软件的主流技术是在国外,
这种对翻译依赖使许多程序员失去获取第一手资料的宝贵机会。
在日常中大量阅读英文书籍和资料是提高计算机英语水平的最佳途径。目前市场上大量的计算机原版影印图书为我们提供绝好的机会,阅读
英文计算机图书一开始是 啃 的感觉,比较费时费力,对于英文基础不是很好的人,来说应该是相当艰苦的,但是我们要是要去做,对于不太好
的地方,不妨拿起笔来逐 ...
- 2011-11-20 14:34
- 浏览 673
- 评论(0)
使用Sql Server2005导入 导出 表 数据到文本文件
cmd运行DTSWizard.exe 启动导入导出工具
<1>导入表数据到文本文件 选择目标 平面文件目标 所选择如下图
<3>选择编辑转换 记住导出字段类型 在导入时要改变字段类型
类型 列 要记住 在导入时 需要调整
<2>导入文本文件数据 选择高级
修改对应字段的 DataType 此DataType与导出时候 编辑格式 中的 对应 点击完成即可
- 2011-11-17 12:29
- 浏览 1067
- 评论(0)
设计模式经典解释
2009-11-19 来源:网络
创建型模式
1、FACTORY—追MM少不了请吃饭了,麦当劳的鸡翅和肯德基的鸡翅都是MM爱吃的东西,虽然口味有所不同,但不管你带MM去麦当劳或肯德基,只管向服务员 ...
- 2011-11-09 16:01
- 浏览 652
- 评论(0)
面向对象设计原则小结
一。SRP 单一职责原则
<1>一个类最多只有一个可以变化的职责
<2>一个类只会受一个变化的影响
<3>一个继承等级结构只有一个可以变化的地方
说到这里,先来说说 ...
- 2011-11-09 10:51
- 浏览 663
- 评论(0)
1.重构是在不改变软件可观察行为的前提下改善其内部结构.
2.不改变软件行为只是重构的最基本要求。要想真正让重构技术发挥威力,就必须做到 不需要了解软件行为 听起来很荒谬,但事实如此。如果一段代码能让你很容易 ...
- 2011-11-03 13:44
- 浏览 827
- 评论(0)
1.如果运行提示未开启 xp_cmdshell 请执行以下语句
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;
2.将查询结果导入到excel
EXEC isale..xp_cmdshell 'bcp "select top 10 * from 数据库名.dbo.表名" queryout c:\temp1.xls -c -S"服务器地址" -U"用户名" -P" ...
- 2011-11-01 13:32
- 浏览 928
- 评论(0)
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 ListSelectionModel (discussed in
Chapter 7) drives us through these selections. Unlike most of the ot ...
- 2011-10-20 14:48
- 浏览 825
- 评论(0)
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, but also the resizability and relocatability of the columns in the table.
If you have an appropriate ...
- 2011-10-20 13:36
- 浏览 846
- 评论(0)
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 stored in a TableModel. The TableModel interface describes the minimum requirements for a model that s ...
- 2011-10-20 13:32
- 浏览 754
- 评论(0)
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 confused with theTableColumnModel
interface. That model, discussed in the next section, dictates the ...
- 2011-10-20 11:23
- 浏览 776
- 评论(0)
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 is consistent for all records. For example, a record containing a person's name is aString and might ...
- 2011-10-19 16:14
- 浏览 801
- 评论(0)
JTable的列渲染器采用的是FlyWeigth模式,今天在写代码的时候,忘记实际数据来源,出现一个问题。原理是因为JTable的渲染器是采用共享模式 所以出现
错误情况
自定义Renderer代码:
/**
* 浮点型渲染器
* @author Administrator
*
*/
public class GroupDoubleRenderer extends DefaultJLabelRenderer {
protected void setValue(JLabel groupRenderer, Object value) {
// TODO Auto-gener ...
- 2011-10-19 14:07
- 浏览 812
- 评论(0)
Swing JTable实现的复杂报表,无限极分组统计报表,设置表格字体,对齐方式,设置每个单元格宽度等。以及无限极交叉分组报表
<1>分组交叉报表,安日期交叉
<2>分组统计报表
- 2011-10-19 13:07
- 浏览 1230
- 评论(0)