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 LogUI.java
Date Tue, 30 Mar 2004 17:39:15 GMT
sdeboy      2004/03/30 09:39:15

  Modified:    src/java/org/apache/log4j/chainsaw LogUI.java
  Log:
  reverting LogUI receiver panel visibility change - incorrect setdividerlocation logic
  
  Revision  Changes    Path
  1.82      +3 -1      logging-log4j/src/java/org/apache/log4j/chainsaw/LogUI.java
  
  Index: LogUI.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/LogUI.java,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- LogUI.java	30 Mar 2004 02:55:12 -0000	1.81
  +++ LogUI.java	30 Mar 2004 17:39:15 -0000	1.82
  @@ -611,6 +611,7 @@
       mainReceiverSplitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
       mainReceiverSplitPane.add(panePanel);
       mainReceiverSplitPane.add(receiversPanel);
  +    mainReceiverSplitPane.setDividerLocation(-1);
       
       dividerSize = mainReceiverSplitPane.getDividerSize() + 5;
       mainReceiverSplitPane.setDividerLocation(-1);
  @@ -743,7 +744,8 @@
       if (applicationPreferenceModel.isReceivers()) {
           showReceiverPanel();
       } else {
  -        hideReceiverPanel();
  +        mainReceiverSplitPane.setDividerSize(0);
  +        receiversPanel.setVisible(false);
       }
   
       removeSplash();
  
  
  

---------------------------------------------------------------------
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