Topic: 急:jtable如何不可写?

  Print this page

1.急:jtable如何不可写? Copy to clipboard
Posted by: chzh112
Posted on: 2004-08-25 16:10

如何让jtable中的单元格不可编辑(除了用setenable外),好象没有seteditable这个函数,

2.Re:急:jtable如何不可写? [Re: chzh112] Copy to clipboard
Posted by: yangmin9702
Posted on: 2004-08-31 19:27

好橡使用默认的TableModel就不可编辑,此外,你也可以重写isCellEditable(int col)函数,使其返回false即可

3.Re:急:jtable如何不可写? [Re: chzh112] Copy to clipboard
Posted by: lin_sa_cn
Posted on: 2004-09-11 13:11



   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923