> Is it just me, or does the current Log4J release, and HEAD do 
> something
> weird the first time data starts streaming into the 
> TableModel?  I find I
> have to resize the ChainSaw window to get it to revalidate 
> the Container and
> start displaying the log events.

After a bit of fiddling around, the attached patch seems to fix the issue on
JDK1.4.0 at least.  Why it does is the tougher question... (see attached
extremely minor patch, note that this is my first patch submission, so
hopefully I haven't stuffed something up).

cheers,

Paul Smith

Index: Main.java
===================================================================
RCS file: /home/cvspublic/jakarta-log4j/src/java/org/apache/log4j/chainsaw/Main.java,v
retrieving revision 1.2
diff -u -r1.2 Main.java
--- Main.java   24 Apr 2002 01:08:04 -0000      1.2
+++ Main.java   24 Feb 2003 04:59:43 -0000
@@ -96,7 +96,7 @@
 
         // Create the details
         final JPanel details = new DetailPanel(table, model);
-        details.setPreferredSize(new Dimension(900, 300));
+        details.setPreferredSize(new Dimension(900, 100));
 
         // Add the table and stack trace into a splitter
         final JSplitPane jsp =

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to