logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r959504 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java
Date Thu, 01 Jul 2010 04:37:58 GMT
Author: sdeboy
Date: Thu Jul  1 04:37:57 2010
New Revision: 959504

URL: http://svn.apache.org/viewvc?rev=959504&view=rev
Log:
Replaced the only 1.6-specific Swing dependency in Chainsaw with a 1.5 compatible API (MouseAdapter
didn't implement MouseMotionListener in 1.5)

Chainsaw now builds fine with JDK 1.5 and appears to run on a 1.5 JVM without issue.

Chainsaw will NOT compile with JDK 1.4.

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

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java?rev=959504&r1=959503&r2=959504&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java Thu Jul 
1 04:37:57 2010
@@ -3274,7 +3274,7 @@ public class LogPanel extends DockablePa
                 }
             });
             
-            addMouseMotionListener(new MouseAdapter() {
+            addMouseMotionListener(new MouseMotionAdapter() {
               public void mouseMoved(MouseEvent e) {
                 if (preferenceModel.isThumbnailBarToolTips()) {
                     int yPosition = e.getPoint().y;



Mime
View raw message