예제 #1
0
 public void setContent(String str) {
   xmlView.setDocumentListener(false);
   ((JTextArea) xmlView.getView()).setText(str);
   xmlView.setDocumentListener(true);
   textView.textFromXMLView(str);
   reinvalidateViews();
 }
예제 #2
0
 private void notifyViews(Update upd) {
   idleThread.resetTimer();
   textView.textFromXMLView(getContent());
   mw.setFileStatus(true);
   mw.setGotInput(true);
 }