/* File: Lattice.java Author: Richard Sanders This is the class that basically uses the panel to make the full applet. I'm sure that these two could have been combined, but I'm experimenting in the use of panels. */ import java.awt.*; import java.applet.*; public class Lattice extends Applet { LatticeControls controls; public void init() { GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); setLayout(gridbag); setFont(new Font("Helvetica", Font.PLAIN, 14)); add("North", controls = new LatticeControls()); } }