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

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

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

revision 1.3.2.2 by gnu_andrew, Sat Jan 15 17:02:21 2005 UTC revision 1.3.2.3 by gnu_andrew, Fri May 27 00:01:45 2005 UTC
# Line 1348  public class BasicSplitPaneUI extends Sp Line 1348  public class BasicSplitPaneUI extends Sp
1348     */     */
1349    public void paint(Graphics g, JComponent jc)    public void paint(Graphics g, JComponent jc)
1350    {    {
1351      // Do nothing. All the painting is handled by children.      // Make sure that the location is valid
1352        int divLoc = splitPane.getDividerLocation();
1353        int valLoc = validLocation(divLoc);
1354        if (divLoc != valLoc)
1355          splitPane.setDividerLocation(valLoc);
1356    }    }
1357    
1358    /**    /**

Legend:
Removed from v.1.3.2.2  
changed lines
  Added in v.1.3.2.3

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