public void setMessage(Quotation q) { msg = q; who.setText(q.author() + " " + q.year()); txt.setText(q.text()); ref.setText(q.reference()); }
public String message() { return msg.text(); }