c*y 发帖数: 137 | 1 自己在做一个EMAIL CLIENT,现在就不知道怎么能让那个显示EMAIL LIST的AREA
能够分成几个列分别显示发件人,时间,SUBJECT,等,而且每个列可以RESIZE,就象在OUTLOOK EXPRESS 或者KMAIL
里面一样...
Thanks!! | w**e 发帖数: 6 | 2 用java吗?JTable
【在 c*y 的大作中提到】 : 自己在做一个EMAIL CLIENT,现在就不知道怎么能让那个显示EMAIL LIST的AREA : 能够分成几个列分别显示发件人,时间,SUBJECT,等,而且每个列可以RESIZE,就象在OUTLOOK EXPRESS 或者KMAIL : 里面一样... : Thanks!!
| c*y 发帖数: 137 | 3 I am tring JTable, but can I dynamically change the number of rows in JTable?
I am reading its documentation but seems there is no function to add a row to
an existing table...Because everytime you retrieve a message, it needs to be
added to the table.
Do you know how? Thanks.
【在 w**e 的大作中提到】 : 用java吗?JTable
| g*s 发帖数: 2277 | 4 sure you can. a couple of years ago I worked on a small project to monitor
threads by using JTable. now totally forget swing le.
I guess you need to change TableModel, then updateUI.
【在 c*y 的大作中提到】 : I am tring JTable, but can I dynamically change the number of rows in JTable? : I am reading its documentation but seems there is no function to add a row to : an existing table...Because everytime you retrieve a message, it needs to be : added to the table. : Do you know how? Thanks.
| c*y 发帖数: 137 | 5 Haha, nice to see you talking here. Yeah, I googled around, TableModel
can achieve that,I will look into it later...
hehe.. Thanks!
【在 g*s 的大作中提到】 : sure you can. a couple of years ago I worked on a small project to monitor : threads by using JTable. now totally forget swing le. : I guess you need to change TableModel, then updateUI.
|
|