debugger/wam_debugger/src/main/com/thesett/aima/logic/fol/wam/debugger/controller/TopLevelStandaloneController.java
public void open()
    {
        // Set up colors.
        componentFactory.setColorScheme(new DarkColorScheme(componentFactory.getColorFactory()));

        // Build the main window frame.
        mainWindow = componentFactory.createMainWindow();
        mainWindow.showMainWindow();

        // Create and initialize the register monitor.
        registerMonitorController = new RegisterMonitorController(componentFactory, mainWindow);
        registerMonitorController.open();

        // Create and initialize the memory layout monitor.
        memoryLayoutMonitorController = new MemoryLayoutMonitorController(componentFactory, mainWindow);
        memoryLayoutMonitorController.open();

        // Create and initialize the byte code view and breakpoint monitor.
        codeStepController = new CodeStepController(componentFactory, mainWindow);
        codeStepController.open();

        // Build the top-level machine monitor, hooking it up to the child components.
        RegisterSetMonitor registerMonitor = registerMonitorController.getRegisterMonitor();
        MemoryLayoutMonitor layoutMonitor = memoryLayoutMonitorController.getLayoutMonitor();
        BreakpointMonitor breakpointMonitor = codeStepController.getBreakpointMonitor();
        ByteCodeMonitor byteCodeMonitor = codeStepController.getByteCodeMonitor();

        machineMonitor = new MachineMonitor(registerMonitor, layoutMonitor, breakpointMonitor, byteCodeMonitor);
    }
public void open()
    {
        // Set up colors.
        componentFactory.setColorScheme(new DarkColorScheme(componentFactory.getColorFactory()));

        // Build the main window frame.
        mainWindow = componentFactory.createMainWindow();
        mainWindow.showMainWindow();

        // Create and initialize the register monitor.
        registerMonitorController = new RegisterMonitorController(componentFactory, mainWindow);
        registerMonitorController.open();

        // Create and initialize the memory layout monitor.
        memoryLayoutMonitorController = new MemoryLayoutMonitorController(componentFactory, mainWindow);
        memoryLayoutMonitorController.open();

        // Create and initialize the byte code view and breakpoint monitor.
        codeStepController = new CodeStepController(componentFactory, mainWindow);
        codeStepController.open();

        // Build the top-level machine monitor, hooking it up to the child components.
        RegisterSetMonitor registerMonitor = registerMonitorController.getRegisterMonitor();
        MemoryLayoutMonitor layoutMonitor = memoryLayoutMonitorController.getLayoutMonitor();
        BreakpointMonitor breakpointMonitor = codeStepController.getBreakpointMonitor();
        ByteCodeMonitor byteCodeMonitor = codeStepController.getByteCodeMonitor();

        machineMonitor = new MachineMonitor(registerMonitor, layoutMonitor, breakpointMonitor, byteCodeMonitor);
    }
public void open ( ) { // Set up colors. componentFactory . setColorScheme ( new DarkColorScheme ( componentFactory . getColorFactory ( ) ) ) ; // Build the main window frame. mainWindow = componentFactory . createMainWindow ( ) ; mainWindow . showMainWindow ( ) ; // Create and initialize the register monitor. registerMonitorController = new RegisterMonitorController ( componentFactory , mainWindow ) ; registerMonitorController . open ( ) ; // Create and initialize the memory layout monitor. memoryLayoutMonitorController = new MemoryLayoutMonitorController ( componentFactory , mainWindow ) ; memoryLayoutMonitorController . open ( ) ; // Create and initialize the byte code view and breakpoint monitor. codeStepController = new CodeStepController ( componentFactory , mainWindow ) ; codeStepController . open ( ) ; // Build the top-level machine monitor, hooking it up to the child components. RegisterSetMonitor registerMonitor = registerMonitorController . getRegisterMonitor ( ) ; MemoryLayoutMonitor layoutMonitor = memoryLayoutMonitorController . getLayoutMonitor ( ) ; BreakpointMonitor breakpointMonitor = codeStepController . getBreakpointMonitor ( ) ; ByteCodeMonitor byteCodeMonitor = codeStepController . getByteCodeMonitor ( ) ; machineMonitor = new MachineMonitor ( registerMonitor , layoutMonitor , breakpointMonitor , byteCodeMonitor ) ; }
{@inheritDoc}

<p/>Creates the debugger application from its components.
{ @inheritDoc }