Java Swing jtable cell editor doubles E numbers
Posted
by Michael
on Stack Overflow
See other posts from Stack Overflow
or by Michael
Published on 2010-04-06T12:50:22Z
Indexed on
2010/04/06
12:53 UTC
Read the original article
Hit count: 300
Hi I an issue with editors in a JTable.
I have a column which displays data as 26,687,489,800.00 ie: Double.
When the user clicks the cell to edit the data it is displayed as -2.66874908E10.
I want the data to be edited as it appears when it is displayed ie: 26,687,489,800.00 - without the E10 etc...
Any help would be appreciated.
Mike
© Stack Overflow or respective owner