logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw LogPanel.java
Date Sun, 02 May 2004 05:48:10 GMT
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


Mime
View raw message