avatar
一个GUI的问题# Java - 爪哇娇娃
c*y
1
自己在做一个EMAIL CLIENT,现在就不知道怎么能让那个显示EMAIL LIST的AREA
能够分成几个列分别显示发件人,时间,SUBJECT,等,而且每个列可以RESIZE,就象在OUTLOOK EXPRESS 或者KMAIL
里面一样...
Thanks!!
avatar
w*e
2
用java吗?JTable

【在 c*y 的大作中提到】
: 自己在做一个EMAIL CLIENT,现在就不知道怎么能让那个显示EMAIL LIST的AREA
: 能够分成几个列分别显示发件人,时间,SUBJECT,等,而且每个列可以RESIZE,就象在OUTLOOK EXPRESS 或者KMAIL
: 里面一样...
: Thanks!!

avatar
c*y
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
avatar
g*s
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.

avatar
c*y
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。