The controlling class

The controlling class is shown in Listing 1.

The main method instantiates an object of the GUI class.

This results in the GUI that is pictured in Figure 2.

Listing 1. The controlling class.
import java.awt.*;
import java.awt.event.*;

public class InnerClasses08 {
  public static void main(String[] args){
    new GUI();
  }//end main
}//end class InnerClasses08
File: bt.htm [Next] [Prev]