Another question

View: New views
2 Messages — Rating Filter:   Alert me  

Another question

by Jonathan Chayer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, i am sorry to bother you guys with another question but... for some reasons it's annoying. I'm using the setAutoCreateRowSorter Property for my JTable and it seems to work good altho when i have integers : 10 11 12 13 14 100

I get 10 - 100 - 11 - 12 - 13 -14

and i also get 80-81-82-83-84-9-90-91

I bet if i add a 0 it would work... but i don't feel like changeing my data.
I wonder if you could help again.

Thx


Parent Message unknown Re: Another question

by Holger Brands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How do you setup your Table?
What column class does your table model/table format
return?

I suspect it returns String instead of Integer ...

Hope this helps,
Holger

>Hello, i am sorry to bother you guys with another question but... for
> some reasons it's annoying. I'm using the setAutoCreateRowSorter
> Property for my JTable and it seems to work good altho when i have
> integers : 10 11 12 13 14 100
>
> I get 10 - 100 - 11 - 12 - 13 -14
>
> and i also get 80-81-82-83-84-9-90-91
>
> I bet if i add a 0 it would work... but i don't feel like changeing
> my data.
> I wonder if you could help again.
>
> Thx
>
>
>


_______________________________________________________________________
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid@mf2


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...