Beginning of the class named Prob12Runner

The class named Prob12Runner begins in Listing 4.

The code in Listing 4

Listing 4. Beginning of the class named Prob12Runner.
class Prob12Runner extends JFrame{
  private JFrame explorerFrame = null;
  private PictureExplorer explorer = null;
  private Picture pix;

  private JPanel controlPanel = new JPanel();
  private JPanel colorPanel = new JPanel();
  private JPanel buttonPanel = new JPanel();

  private JTextField redField = new JTextField("000000");

  private JButton getDataButton = new JButton(
                       "Get and Display Red Color Value");
  private String fileName = "Prob12.jpg";
File: ap.htm [Next] [Prev]