/** @author Scott Marshall @author University of Glasgow, MSc IT Project 2001 @author Building an OnLine Course in Computing Fundamentals BinaryConverter Initiating Class. */ import ukacgla_BinaryConverter.*; import javax.swing.*; import java.applet.Applet; public class BinaryConverter extends JApplet { /** The HTML file must specify the base and power to be used as parameters. The constructor must retrieve the base and the power for use throughout the program. The construction has been coded this way to be extensible for future packages. */ public void init() { super.init(); int powers = Integer.parseInt(getParameter("powers")); int bases = Integer.parseInt(getParameter("bases")); ConverterFrame frame = new ConverterFrame (bases,powers, this); } public void start() { super.start(); } public void stop() { super.stop(); } }