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