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 LogUI.java
Date Mon, 05 May 2003 03:49:28 GMT
psmith      2003/05/04 20:49:28

  Modified:    src/java/org/apache/log4j/chainsaw LogUI.java
  Log:
  added dockable windows Toolbar to allow Pause etc to work, still need 
  to hook up save and Dock to this toolbar.
  
  Revision  Changes    Path
  1.23      +3 -1      jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/LogUI.java
  
  Index: LogUI.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/LogUI.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- LogUI.java	5 May 2003 03:16:27 -0000	1.22
  +++ LogUI.java	5 May 2003 03:49:28 -0000	1.23
  @@ -1060,10 +1060,12 @@
   			final JMenuItem menuItemToggleDock = new JMenuItem("Undock/dock");
   
   			final JFrame f = new JFrame(ident);
  +      
   			final DockablePanel externalPanel = new DockablePanel();
   			externalPanel.setLayout(new BorderLayout());
   			f.setSize(new Dimension(500, 500));
   			f.getContentPane().add(externalPanel);
  +            f.getContentPane().add(tbms.createDockwindowToolbar(f), BorderLayout.NORTH);
   
   			f.addWindowListener(new WindowAdapter() {
   				public void windowClosing(WindowEvent event) {
  @@ -1092,7 +1094,7 @@
   						add(upperPanel, BorderLayout.NORTH);
   						add(lowerPanel, BorderLayout.CENTER);
   						panelMap.put(ident, LogPanel.this);
  -						tabbedPane.add(ident, LogPanel.this);
  +						tabbedPane.addANewTab(ident,  LogPanel.this);
   						externalPanel.setDocked(true);
   						setDocked(true);
   					}
  
  
  

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