package exercise; import java.awt.*; import javax.swing.*; import exercise.fill_blank.*; public class TestApplet extends JApplet { public void init() { ConcretePLAF.install(); // Build the exercise. String id = "4400-1-1"; String prompt = "The [____1____] in [____2____] falls mainly on the [____3____]."; int numBlanks = 3; FBExerciseModel model = new FBExerciseModel(id, prompt, numBlanks); FBExercise exercise = new FBExercise(model); // Add the exercise to the applet. Container cp = getContentPane(); cp.add(exercise); } }