logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw ChainsawToolBarAndMenus.java
Date Tue, 06 May 2003 07:56:58 GMT
psmith      2003/05/06 00:56:58

  Modified:    src/java/org/apache/log4j/chainsaw
                        ChainsawToolBarAndMenus.java
  Log:
  Subtle re-order of Toolbar buttons to be more consistent with the menus.
  
  Sorry for all these Commits..
  
  Revision  Changes    Path
  1.11      +7 -7      jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/ChainsawToolBarAndMenus.java
  
  Index: ChainsawToolBarAndMenus.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/ChainsawToolBarAndMenus.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ChainsawToolBarAndMenus.java	6 May 2003 07:50:37 -0000	1.10
  +++ ChainsawToolBarAndMenus.java	6 May 2003 07:56:58 -0000	1.11
  @@ -339,7 +339,7 @@
   		toolbar.add(fileOpenButton);
   		toolbar.add(fileSaveButton);
   		toolbar.addSeparator();
  -
  +    
   		pauseButton.setAction(pauseAction);
   		pauseButton.setText("");
   
  @@ -348,9 +348,6 @@
   			pauseAction.getValue(Action.NAME),
   			pauseAction);
   
  -		clearButton.setAction(clearAction);
  -		clearButton.setText("");
  -
   		detailPaneButton.setAction(toggleDetailPaneAction);
   		detailPaneButton.setText("");
   		detailPaneButton.getActionMap().put(
  @@ -360,14 +357,17 @@
   			KeyStroke.getKeyStroke(KeyEvent.VK_D, InputEvent.ALT_MASK),
   			toggleDetailPaneAction.getValue(Action.NAME));
   
  -		resizeToolbarButton(clearButton);
   		resizeToolbarButton(pauseButton);
   		resizeToolbarButton(detailPaneButton);
   
   		toolbar.add(pauseButton);
  -		toolbar.add(clearButton);
   		toolbar.add(detailPaneButton);
  -    
  +    toolbar.addSeparator();
  +
  +    resizeToolbarButton(clearButton);
  +    toolbar.add(clearButton);
  +    clearButton.setAction(clearAction);
  +    clearButton.setText("");
       toolbar.addSeparator();
       
       JButton findNextButton = new JButton(findNextAction);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message