Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get rid of that comma in my JSpinner!!!

843804Nov 1 2004 — edited Nov 2 2004
Hey,

There's gotta be a way to do this: My JSpinner seems to like inserting commas in the numbers I enter when the number's big enough. Example: I enter "30000" and when I change the focus it makes it into "30,000". This is undesirable for the application I'm programming. The JSpinner is for entering an appartment number, and no one writes their appartment numbers with commas. Is there a way to tell it that I don't want this?

Gib
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2004
Added on Nov 1 2004
3 comments
592 views