Name: ssR10000 Date: 12/01/2000
It's misprint in setMinimum/getMinimum methods:
-------------------------------------------------------
setMinimum
public void setMinimum(Comparable minimum)
Sets the mimum permissible value. For this to have any effect
^^^^^
.......
getMinimum
public Comparable getMinimum()
Returns the mimum permissible value.
^^^^^
Returns:
...
-------------------------------------------------------
Wrong param's in the stringToValue method:
-------------------------------------------------------
stringToValue
public Object stringToValue(String text)
throws ParseException
Returns the Object representation of the String text.
Overrides:
stringToValue in class DefaultFormatter
Parameters:
tf - JTextComponent containing text
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
!!!excessive param!!!
text - String to convert
Returns:
Object representation of text
Throws:
ParseException - if there is an error in the conversion
-------------------------------------------------------
======================================================================