Click here to Skip to main content
16,006,605 members

Comments by Member 14128660 (Top 1 by date)

Member 14128660 23-May-20 9:19am View    
I found the errors in my code. When I correct like below it works. But when I double click on the Quantity column only Amount appears otherwise Amount value is invisible.
How to solve that?
Corrected code here
double price = Double.parseDouble(model.getValueAt(row, 2).toString());
double quantity = Double.parseDouble(model.getValueAt(row, 3).toString());