You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by sd...@apache.org on 2004/05/02 07:48:10 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw LogPanel.java
sdeboy 2004/05/01 22:48:10
Modified: src/java/org/apache/log4j/chainsaw LogPanel.java
Log:
minor change to try and find cause of intermittent boxview outofboundsexception..likely related to detail panel settext call
Revision Changes Path
1.68 +1 -1 logging-log4j/src/java/org/apache/log4j/chainsaw/LogPanel.java
Index: LogPanel.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/LogPanel.java,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- LogPanel.java 1 May 2004 09:18:48 -0000 1.67
+++ LogPanel.java 2 May 2004 05:48:10 -0000 1.68
@@ -2570,13 +2570,13 @@
public void run() {
try {
detail.setText(text2);
+ detail.validate();
if (text2.length() > 0) {
detail.setCaretPosition(0);
}
} catch (Exception e){} //ignore
}
});
- detail.revalidate();
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org