logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r1026557 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java
Date Sat, 23 Oct 2010 04:40:15 GMT
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);
                 }



Mime
View raw message