classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clarification: java.swing.text.NumberFormatter


From: Chris Lansdown
Subject: clarification: java.swing.text.NumberFormatter
Date: Thu, 22 Dec 2005 13:17:28 -0500
User-agent: Mutt/1.5.9i

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.) 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]