This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
You can drill down to the JList that represents the list view, get a reference to its ancestor of class sun.swing.FilePane, then add a ContainerListener to the FilePane that listens for a componentAdded(...) and drills down to determine whether there is a JTable in its hierarchy. Then set the autoResizeMode of that JTable.
I'm curious: why is this behavior important (or even desirable)?
edit: Note that this is totally implementation dependent and may break in a future release of Swing (if there ever is one).
There are no new questions, but there may be new answers.