Java JTable setting Column Width
What happens if you call setMinWidth(400) on the last column instead of setPreferredWidth(400)? In the JavaDoc for JTable, read the docs for doLayout() very carefully. Here are some choice bits: When the method is called as a result of the resizing of an enclosing window, the resizingColumn is null. This means that resizing has taken … Read more