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