365366367368369370371372373374375
addKeyListener(dispatcher); } rendererFactory = new DynamicRendererFactory(); builder = new ConcreteGVTBuilder(); addComponentListener(new CanvasListener()); MouseListener ml = new MouseListener(); addMouseListener(ml); addMouseMotionListener(ml);