/[classpath]/classpath/javax/swing/plaf/basic/BasicToolBarUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicToolBarUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by langel, Mon Sep 12 16:17:15 2005 UTC revision 1.13 by rabbit78, Sat Sep 24 20:56:20 2005 UTC
# Line 65  import javax.swing.JComponent; Line 65  import javax.swing.JComponent;
65  import javax.swing.JDialog;  import javax.swing.JDialog;
66  import javax.swing.JFrame;  import javax.swing.JFrame;
67  import javax.swing.JToolBar;  import javax.swing.JToolBar;
68    import javax.swing.KeyStroke;
69  import javax.swing.RootPaneContainer;  import javax.swing.RootPaneContainer;
70  import javax.swing.SwingConstants;  import javax.swing.SwingConstants;
71  import javax.swing.SwingUtilities;  import javax.swing.SwingUtilities;
# Line 133  public class BasicToolBarUI extends Tool Line 134  public class BasicToolBarUI extends Tool
134    protected FocusListener toolBarFocusListener;    protected FocusListener toolBarFocusListener;
135    
136    /**    /**
137       * @deprecated since JDK1.3.
138       */
139      protected KeyStroke leftKey;
140    
141      /**
142       * @deprecated since JDK1.3.
143       */
144      protected KeyStroke rightKey;
145    
146      /**
147       * @deprecated since JDK1.3.
148       */
149      protected KeyStroke upKey;
150    
151      /**
152       * @deprecated since JDK1.3.
153       */
154      protected KeyStroke downKey;
155    
156      /**
157     * The floating window that is responsible for holding the JToolBar when it     * The floating window that is responsible for holding the JToolBar when it
158     * is dragged outside of its original parent.     * is dragged outside of its original parent.
159     */     */
# Line 591  public class BasicToolBarUI extends Tool Line 612  public class BasicToolBarUI extends Tool
612    
613    /**    /**
614     * This method installs listeners for the JToolBar.     * This method installs listeners for the JToolBar.
    *  
    * @param toolbar The JToolBar to register listeners for.  
615     */     */
616    protected void installListeners(JToolBar toolbar)    protected void installListeners()
617    {    {
618      dockingListener = createDockingListener();      dockingListener = createDockingListener();
619      toolBar.addMouseListener(dockingListener);      toolBar.addMouseListener(dockingListener);
# Line 694  public class BasicToolBarUI extends Tool Line 713  public class BasicToolBarUI extends Tool
713          toolBar.setOpaque(true);          toolBar.setOpaque(true);
714          installDefaults();          installDefaults();
715          installComponents();          installComponents();
716          installListeners(toolBar);          installListeners();
717          installKeyboardActions();          installKeyboardActions();
718        }        }
719    }    }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26