title: Converting double to string in java for a netbeans gui
body: <p>i want the total text field (txtTotal) to display the running total of the cost of the food order. however i get an error as it says that the last line is incorrect because you cannot convert a double to string.
  What should I do??</p>
  
  <pre><code>    txtOrder.setText("Soup of the Day");
      txtPrice.setText("€4.00");
      total=total+crapClaws;
      txtTotal.setText(total);
  </code></pre>