String doc =e.getDocument().getText()
てのがあったら、
Strin doc= e.getDocument() doc.getText()
って言う風になるんですか?メソッドの連結ってあまり入門書にのってないから