logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r957436 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java
Date Thu, 24 Jun 2010 06:48:19 GMT
Author: sdeboy
Date: Thu Jun 24 06:48:19 2010
New Revision: 957436

URL: http://svn.apache.org/viewvc?rev=957436&view=rev
Log:
Enqueue the display of the 'no receivers' dialog to ensure the parent is visible

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

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java?rev=957436&r1=957435&r2=957436&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogUI.java Thu Jun 24 06:48:19
2010
@@ -1036,7 +1036,11 @@ public class LogUI extends JFrame implem
     if (
       noReceiversDefined
         && applicationPreferenceModel.isShowNoReceiverWarning()) {
-      showNoReceiversWarningPanel();
+      EventQueue.invokeLater(new Runnable() {
+          public void run() {
+              showNoReceiversWarningPanel();
+          }
+      });
     }
 
     Container container = tutorialFrame.getContentPane();



Mime
View raw message