JTable_Column_Removing_and_Pack

Hi all,I have my customised Table in which i want do one column visiblity false. When i do this immediatly all the remaining columns need to be packed and the Table size need to shrink. Is any body have idea on this ?please help me.Thanks in advance.
[285 byte] By [vasmhi_1981a] at [2007-11-27 7:33:18]
# 1
table.setAutoResizeMode( JTable.AUTO_RESIZE_OFF );
camickra at 2007-7-12 19:13:43 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thanks for the reply, If i apply the same the Table size is not shrinking ? what might be the problem ?
vasmhi_1981a at 2007-7-12 19:13:43 > top of Java-index,Desktop,Core GUI APIs...
# 3

No idea what your code looks like. As I've told you in the past....

If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program[/url] (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

Don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags[/url] so the posted code retains its original formatting.

camickra at 2007-7-12 19:13:43 > top of Java-index,Desktop,Core GUI APIs...