//<PLAINTEXT>
package SwingDemos;

import java.awt.*;
import javax.swing.*;

/**
 * ColorChangeApplet.java
 *
 *
 * Created: Mon Mar 17 11:30:50 2003
 *
 * @author <a href="mailto:shapiro@cse.buffalo.edu">Stuart C. Shapiro</a>
 */

public class ColorChangeApplet extends JApplet {
    private Container pane;
    private JPanel coloredPanel;

    public ColorChangeApplet (){
	pane = this.getContentPane();
	coloredPanel = new JPanel();
	pane.setLayout(new BoxLayout(pane, BoxLayout.Y_AXIS));
	pane.setBackground(Color.white);
	coloredPanel.setBackground(Color.red);
	pane.add(coloredPanel);
	pane.add(new ColorChangeButtons(coloredPanel));
    }

}// ColorChangeApplet
