Parent Directory | Revision Log | Patch
revision 1.7 by mkoch, Sat Oct 23 20:55:04 2004 UTC | revision 1.8 by rabbit78, Wed May 25 08:37:05 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 |