摘要
本文主要叙述如何通过建立新的数据模型(单元格模型),重载Jtable的三个重要方法(getCellRectO、columnAtPointO、rowAt-PointO)和继承Jtable的渲染组件(BasicTableUI)来实现单元格的合并。
The main description in this text is how to establish the new data model ( table cell model), overwrite Jtable three important method( getCellRectO, columnAtPointO, rowAtPointOs) with inherit the Jtable extends the class(BasicTableUl) come to realize the cell merges.
作者
李毓丽
LI YU-li (South China Institute of Software Engineering of Guangzhou University,Guangzhou 510990,China)
出处
《电脑知识与技术》
2007年第9期1357-1358,共2页
Computer Knowledge and Technology