svn commit: r1026557 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java

[email protected]
Newsgroups gmane.comp.apache.logging
Message-ID <[email protected]>
Author: sdeboy
Date: Sat Oct 23 04:40:15 2010
New Revision: 1026557

URL: http://svn.apache.org/viewvc?rev=1026557&view=rev
Log:
improve reselection of currently selected row after a refilter

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java?rev=1026557&r1=1026556&r2=1026557&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java Sat Oct 23 04:40:15 2010
@@ -194,8 +194,8 @@ class ChainsawCyclicBufferTableModel ext
       				fireTableDataChanged();
       			}
 	      	notifyCountListeners();
-            //post refilter with newValue of FALSE (filtering is complete) (enqueue on EDT, don't run now)
-            EventQueue.invokeLater(new Runnable() {
+            //post refilter with newValue of FALSE (filtering is complete)
+            SwingHelper.invokeOnEDT(new Runnable() {
                 public void run() {
                     propertySupport.firePropertyChange("refilter", Boolean.TRUE, Boolean.FALSE);
                 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.