コード例 #1
0
 public void addCurrentTextToHistory() {
   final String item = getText();
   myModel.addElement(item);
 }