Package HackGUI

Examples of HackGUI.RegisterComponent


    /**
     * Constructs a new RegisterWithGUI.
     */
    public RegisterWithGUI() {
        if (GatesManager.getInstance().isChipsGUIEnabled()) {
            gui = new RegisterComponent();
            gui.setName("Reg:");
            gui.setLocation(180, 10);
            gui.reset();
            gui.addListener(this);
            gui.addErrorListener(this);
View Full Code Here


    /**
     * Constructs a new PC.
     */
    public PC() {
        if (GatesManager.getInstance().isChipsGUIEnabled()) {
            gui = new RegisterComponent();
            gui.setName("PC:");
            gui.reset();
            gui.setLocation(355, 442);
            gui.addListener(this);
            gui.addErrorListener(this);
View Full Code Here

        ram = new PointedMemoryComponent();
        ram.setName("RAM");
        rom = new ROMComponent();
        rom.setName("ROM");
        alu = new ALUComponent();
        a = new RegisterComponent();
        d = new RegisterComponent();
        pc = new RegisterComponent();
        setRegistersNames();
        bus = new BusComponent();
        jbInit();

        // Sets the top level location of RAM and ROM.
View Full Code Here

TOP

Related Classes of HackGUI.RegisterComponent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.