constructor uml text area param doc plain text document uml text area uml document doc doc set font look feel mgr instanc standard font add caret listen action copi instanc add caret listen action cut instanc add caret listen action past instanc add focu listen action past instanc 