Hi.
I have a Jtable, now i want cast a cell (String Object) from SIDcol to double type
i tried
double sID= Jtable.getValueAt(5,1).DoubleValue();
it’'s not working, what i should do?
Hi.
I have a Jtable, now i want cast a cell (String Object) from SIDcol to double type
i tried
double sID= Jtable.getValueAt(5,1).DoubleValue();
it’'s not working, what i should do?
Let’s try this and tell me does it work for you.
double sID= Double.parseDouble(Jtable.getValueAt(5,1).toString());
Thank you so much. I forgot to set string representation of the object. Its working