Hi, I should point out that java.swing.text.NumberFormatter's stringToValue function is actually its parent class's stringToValue function (java.swing.text.InternationalFormatter), and all of the comments about NumberFormatter's stringToValue function are actually about InternationalFormatter's stringToValue function -- I just forgot which file I was looking at when I wrote my previous email. All of the substantive stuff still holds.
Though i did notice that the third option is actually going to be have NumberFormatter sets valueClass to be Double, not Number, since Double can actually be instantiated and has a constructor which takes a string. Thanks, Chris Lansdown -- "Let us endeavor so to live that when we come to die even the undertaker will be sorry." -- Mark Twain, "Pudd'nhead Wilson's Calendar" ========== Evil Overlord Quote of the Day (www.eviloverlord.com) ========= 214. If a malignant being demands a sacrificial victim have a particular quality, I will check to make sure said victim has this quality immediately before the sacrifice and not rely on earlier results. (Especially if the quality is virginity and the victim is the hero's girlfriend.) _______________________________________________ Classpath mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath

