//Project BauHaus: an example of how to use the package //last modified: 8/22/98 // import com.abl.bauhaus.*; import java.applet.Applet; public class BHcontrol extends Applet { public static void main(String[] arguments) { PortBox primeMover = new PortBox(); //build the enterprise primeMover.printNetwork(); //view the configuration //example of client-specific output: //System.out.println("Making your enterprise troubleshootable: designing the spy network"); //primeMover.printPMcf(); //PM config file //bill of materials: (no example yet) //System.out.println("Summary of materials needed:"); } public void start() { boolean inAnApplet = true; Console.setAppContext(inAnApplet); /* (until Java 1.2) */ PortBox primeMover = new PortBox(); //build the enterprise primeMover.printNetwork(); //view the configuration } public String getAppletInfo() { return "BauHaus; copyright 1998; ABL Research, Inc. "; } }