
import javax.swing.*;
import java.awt.*;

/**
 Simple demonstration of putting buttons in an Applet.
 These buttons do not do anything. That comes in a later version.
*/
public class PreliminaryButtonDemo extends JApplet
{

    public void init( )
    {
        Container contentPane = getContentPane( );
        contentPane.setBackground(Color.WHITE);

        contentPane.setLayout(new FlowLayout( ));

        JButton sunnyButton = new JButton("Sunny");
        contentPane.add(sunnyButton);

        JButton cloudyButton = new JButton("Cloudy");
        contentPane.add(cloudyButton);
    }
}