Since you can't run the applet, here's a picture of it: #usemacro UI_FIGURE ( NAME TextEventDemo.gif W 500 H 300 ALT A snapshot of TextEventDemo, which demonstrates handling document events on text components. )