Motion Tracking (2)

import java.awt.*;

public class TrackResize extends Frame {
 
   public static void main(String argv[]) {
        new TrackResize().setVisible(true);
    }

    public TrackResize() {
        Label label = new Label();
        add(label);     
        pack();

        addComponentListener(new Tracker(label));
    }
}


Slide 43 ©Copyright 1997 Jan Newmarch