/[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.10 by mark, Sat Jul 2 20:32:50 2005 UTC revision 1.11 by mark, Tue Jul 26 14:16:43 2005 UTC
# Line 542  public class BasicToolBarUI extends Tool Line 542  public class BasicToolBarUI extends Tool
542    }    }
543    
544    /**    /**
    * This method returns the preferred size of the given JComponent for this  
    * UI.  
    *  
    * @param c The JComponent to find a preferred size for.  
    *  
    * @return The preferred size for this UI.  
    */  
   public Dimension getPreferredSize(JComponent c)  
   {  
     return toolBar.getLayout().preferredLayoutSize(c);  
   }  
   
   /**  
545     * This method installs the needed components for the JToolBar.     * This method installs the needed components for the JToolBar.
546     */     */
547    protected void installComponents()    protected void installComponents()

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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