-
Bug
-
Resolution: Not an Issue
-
P5
-
1.4.1
-
x86
-
windows_2000
Name: jk109818 Date: 05/27/2003
FULL PRODUCT VERSION :
1.4.1_02-b06
A DESCRIPTION OF THE PROBLEM :
This is a trivial thing, but it caught me out.
The API docs for Swing's JSplitPane.setDividerLocation(double) keeps calling its argument a "percentage". But then in the details, it says it's a fraction from 0.0 - 1.0. Well, it can't be both!
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
You can see it here:
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JSplitPane.html#setDividerLocation(double)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It'll say:
"Sets the divider location as a percentage of the JSplitPane's size."
which ain't true.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 186422)
======================================================================