Mar 4th, 2008, 10:21 AM
problem in spring rich client with numeric value
I am facing problem in Spring Rich client.
I have a text field of NumericJTextField type in JXTree, which extends JTextField and it is storing value of long type.
In one constructor of this NumericJTextField ,we are creating new instance of NumericDocument which extends PlainDocument.
We are alos using document filter.
My problem is that,when i enter a numeric value starting with 0 for ex: 0123 then at the time of saving,
it automatically converts this numeric value into something else like 83 or 9 etc.
I dont know how and where this is happenning?
can anyone help mme in this?