Beispiel #1
0
  public final void setLabels() {

    recipeLabel.setText(rd.getName());
    cLabel.setText(rd.getCuisine());
    mLabel.setText(rd.getMeal());
    serveLabel.setText(rd.getServes());
    timeLabel.setText(rd.getTime());
    // ingText.setText(rd.getIngredients());

  }
Beispiel #2
0
 public final void setMethod() {
   // sets text of method
   jTextArea1.setText(rd.getMethod());
   jTextArea1.setCaretPosition(0);
 }
Beispiel #3
0
  public void setIng() {

    // sets the text for the ingredients
    ingText.setText(rd.getIngredients());
    ingText.setCaretPosition(0);
  }