Adding a listener or an adapter (2 of 3)
private Object handle;
public static synchronized void
addTo( TextComponent comp ){
JLTextListener l = new
JLTextListener();
l.handle = (Object)comp;
comp.addTextListener(
(TextListener)l );
}
Previous slide
Next slide
Back to first slide
View graphic version