Parent Directory | Revision Log | 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 | /** | /** |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |