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

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

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

revision 1.50 by rabbit78, Thu Nov 3 16:05:08 2005 UTC revision 1.51 by rabbit78, Fri Nov 4 11:32:05 2005 UTC
# Line 799  public abstract class BasicTextUI extend Line 799  public abstract class BasicTextUI extend
799    }    }
800    
801    /**    /**
802       * Returns the minimum size for text components. This returns the size
803       * of the component's insets.
804       *
805       * @return the minimum size for text components
806       */
807      public Dimension getMinimumSize(JComponent c)
808      {
809        Insets i = c.getInsets();
810        return new Dimension(i.left + i.right, i.top + i.bottom);
811      }
812    
813      /**
814     * Paints the text component.     * Paints the text component.
815     *     *
816     * @param g the <code>Graphics</code> context to paint to     * @param g the <code>Graphics</code> context to paint to

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

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