JTable within JScrollPane not refreshing

View: New views
1 Messages — Rating Filter:   Alert me  

JTable within JScrollPane not refreshing

by scb147 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using a SortedList and FilteredList to display my EventList in a JTable contained within a JScrollPane.

The problem I am having is that when I filter out rows when the scroll bar is not shown, only the first row is removed.  If I try selecting one of the rows, it acts like it's not there.  If I minimize the frame and restore it, the rows disappear.

The first image here is what is in the list.  Note: I am only showing the Info log messages because there are only 7 of those and the vertical scrollbar is not shown.


Then, when I filter out the Info log messages, I'd expect nothing to show.  Instead, I get this:


Finally, if I minimize and restore the window, the JScrollPane/JTable refresh and the rows disappear as expected.


Any ideas what is causing this?

Thanks.