/[classpath]/classpath/javax/swing/ScrollPaneLayout.java
ViewVC logotype

Diff of /classpath/javax/swing/ScrollPaneLayout.java

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

revision 1.16 by rabbit78, Wed Oct 12 14:36:11 2005 UTC revision 1.17 by rabbit78, Wed Oct 12 19:50:33 2005 UTC
# Line 287  public class ScrollPaneLayout Line 287  public class ScrollPaneLayout
287            height += hsb.getMinimumSize().height;            height += hsb.getMinimumSize().height;
288          if (vsb.isVisible())          if (vsb.isVisible())
289            width += vsb.getMinimumSize().width;            width += vsb.getMinimumSize().width;
290          if (rowHead.isVisible())          if (rowHead != null && rowHead.isVisible())
291            width += rowHead.getMinimumSize().width;            width += rowHead.getMinimumSize().width;
292          if (colHead.isVisible())          if (colHead != null && colHead.isVisible())
293            height += colHead.getMinimumSize().height;            height += colHead.getMinimumSize().height;
294          return new Dimension(width, height);          return new Dimension(width, height);
295        }        }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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