3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by javaAddict
0

that is.,
say, ob is an Object,
int i = Integer.parseInt((String)ob);

Only if ob can be cast to a String. Of course you created the JTable and know better what you put in there. Since you know what you put to each cell, cast it to the appropriate class, and act accordingly

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.