JTable Design Guide in Swing Application
Posted
by
zwang
on Stack Overflow
See other posts from Stack Overflow
or by zwang
Published on 2012-09-06T09:30:11Z
Indexed on
2012/09/06
9:38 UTC
Read the original article
Hit count: 214
I have a really hard design problem in my swing application.
Generally Speaking, I have a JTable and a JLabel to display.
The label is right below the JTable.
When the height of these two components doesn't exceed a threshold, then the jtable and label displays as normal. Then height of these two components will increase as the number of records filled in the table increases.
When the height of these two components exceeds a threshold, I want there is a scrollbar in the JTable and the height of these two components will be the threshold.
Is this design Possible?
I have draft to illustate my UI design requirement. But I don't know how to post it in this forum.
And any reply are appreciate.
Best Regards,
Zheng.
© Stack Overflow or respective owner