Topic: 如何设置jTable的列宽?

  Print this page

1.如何设置jTable的列宽? Copy to clipboard
Posted by: imain
Posted on: 2005-05-22 21:38

如何设置jTable的列宽?

2.Re:如何设置jTable的列宽? [Re: imain] Copy to clipboard
Posted by: imain
Posted on: 2005-05-24 14:54

大家有设置过jTable列宽的吗??

3.Re:如何设置jTable的列宽? [Re: imain] Copy to clipboard
Posted by: kavinwang
Posted on: 2005-05-24 15:24

table.getColumn( "列名" ).setMaxWidth( 40 ) ;
table.getColumn( "列名" ).setResizable( false ) ;
等等

4.Re:如何设置jTable的列宽? [Re: imain] Copy to clipboard
Posted by: imain
Posted on: 2005-05-24 15:53

万分感谢!!!

5.Re:如何设置jTable的列宽? [Re: imain] Copy to clipboard
Posted by: java88
Posted on: 2005-06-03 08:48

在SUN的JAVA SWING这本书上都有

6.Re:如何设置jTable的列宽? [Re: imain] Copy to clipboard
Posted by: yinpeng263
Posted on: 2005-06-08 04:19

http://www.java2s.com/ExampleCode/Swing-JFC/Table.htm


   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