Re: java.swing.text.NumberFormatter

2005-12-23 Thread Roman Kennke
Hi Chris, Thanks for your explanations. Could you file a bugreport about this and assign it to me (roman at kennke dot org), so it doesn't get lost? Right now I don't have much time and I'll try to look at this in a few days. Cheers, Roman Am Donnerstag, den 22.12.2005, 12:34 -0500 schrieb

Re: java.swing.text.NumberFormatter

2005-12-23 Thread Mark Wielaard
Hi Roman, On Fri, 2005-12-23 at 10:33 +0100, Roman Kennke wrote: Thanks for your explanations. Could you file a bugreport about this and assign it to me (roman at kennke dot org), so it doesn't get lost? Right now I don't have much time and I'll try to look at this in a few days. Chris

java.swing.text.NumberFormatter

2005-12-22 Thread Chris Lansdown
Hi, NumberFormatter's stringToValue function currently checks to see if the valueClass is not null, and if so, converts its value to that. The problem is that valueClass gets set in java.swing.text.DefaultFormatter's constructor sets valueClass to be Object.class, so the lines: if

clarification: java.swing.text.NumberFormatter

2005-12-22 Thread Chris Lansdown
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