Hi Gang,

I have a question on JTable about column resizing. This is what I want
but I am not able to make Jtable work this way.

When the table is launched, I want it to take entire space that
is available in JScrollPane and divide it evenly among all columns.
( this part is working fine because I have setup resize mode to
RESIZE_ALL ) But when user tries to resize one column, only that
column should get resize and rest should remain at same size.
e.g. A. if I try to increase widh of a column then a scroll bar should
appear so that new width is accomodated but rest of the column should
remain at the same width and B. when I try to reduce
size of a column, then rest of the column should evenly divide newly
availabe extra space. The part A in like windows Excel spread sheet.

has any one done this ?
The whole reason to do this is avoid hard code column sizes because
I have this table in an applet which get size from browser which
I would'nt know before hand.

thanks
Peter.

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to