/[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.10.2.5 by gnu_andrew, Fri May 20 18:20:57 2005 UTC revision 1.10.2.6 by gnu_andrew, Fri May 27 00:01:45 2005 UTC
# Line 466  public abstract class BasicTextUI extend Line 466  public abstract class BasicTextUI extend
466    
467      return new Dimension((int) w, (int) h);      return new Dimension((int) w, (int) h);
468    }    }
469      
470      /**
471       * Returns the maximum size for text components that use this UI.
472       *
473       * This returns (Integer.MAX_VALUE, Integer.MAX_VALUE).
474       *
475       * @return the maximum size for text components that use this UI
476       */
477      public Dimension getMaximumSize(JComponent c)
478      {
479        // Sun's implementation returns Integer.MAX_VALUE here, so do we.
480        return new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE);
481      }
482    
483    public final void paint(Graphics g, JComponent c)    public final void paint(Graphics g, JComponent c)
484    {    {
485      paintSafely(g);      paintSafely(g);

Legend:
Removed from v.1.10.2.5  
changed lines
  Added in v.1.10.2.6

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