JVM Languages
snapshot.txt
Associated article: Java and Digital Images
Tags: .NET JVM Languages
Published source code accompanying the article by David Martin and Johnny Martin which examines capturing, storing, and retrieving images. David and Johnny describe "Grabber for Java," an API that encapsulates the functionality necessary for video capture. Also see SNAPSHOT.ZIP.
Java and Digital Images
by David Martin and Johnny Martin
Listing One
public class VideoGrabberCanvas extends JComponet implements Observer {
VideoGrabber vg;
...
public VideoGrabberCanvas (VideoGrabber camera) {
super();
this.vg = camera;
camera.addObserver(this);
initializeImage();
}
...
}
Listing Two
Image img;
...
// Create an action ...


