GrandTotal = GrandTotal + resultSet.getInt(3);
jLabel1.setText(GrandTotal.toString());
I fetch values from database and add in a variable GrandTotal in the next line I am printing this value in to a JLabel, but the JLabel does not display updated value.
4