The Java Applet API is a good example of a framework. Applets need only override the class Applet, and redefine one or more of a small set of methods.