Пример #1
0
        public ImageViewer()
        {
            // memoryImage construction overriden for MemoryImage
            initComponents();
            copyValuesToFields();

            WindowPropSaver.loadWindowProperties(this);
        }
Пример #2
0
        public MemoryViewer()
        {
            //this.cpu = c;
            startaddress = Emulator.Processor.cpu.pc;
            initComponents();
            RefreshMemory();

            WindowPropSaver.loadWindowProperties(this);
        }
Пример #3
0
        public LogWindow()
        {
            initComponents();

            TextPaneAppender textPaneAppender = (TextPaneAppender)Logger.RootLogger.getAppender("JpcspAppender");

            if (textPaneAppender != null)
            {
                textPaneAppender.TextPane = tpLog;
            }

            LogLevelFromConfig;

            WindowPropSaver.loadWindowProperties(this);
        }
Пример #4
0
        /// <summary>
        /// Creates new form FileLoggerFrame
        /// </summary>
        public FileLoggerFrame()
        {
            fileHandleModel  = new FileHandleModel(this);
            fileCommandModel = new FileCommandModel(this);

            initComponents();
            postInit();

            refreshThread = new Thread(this, "FileLogger");
            refreshThread.Start();

            if (Settings.Instance.readBool("emu.debug.enablefilelogger"))
            {
                cbFileTrace.Selected = true;
                Modules.IoFileMgrForUserModule.registerIoListener(this);
            }

            WindowPropSaver.loadWindowProperties(this);
        }
Пример #5
0
        private VfpuFrame()
        {
            DefaultCloseOperation = DISPOSE_ON_CLOSE;
            Title = java.util.ResourceBundle.getBundle("pspsharp/languages/pspsharp").getString("VfpuFrame.title");             // NOI18N

            for (int i = 0; i < 8; ++i)
            {
                for (int j = 0; j < 4; ++j)
                {
                    for (int k = 0; k < 4; ++k)
                    {
                        registers[i][j][k] = new JTextField();
                    }
                }
            }

            GroupLayout layout = new GroupLayout(ContentPane);

            ContentPane.Layout = layout;

            for (int i = 0; i < panels.Length; ++i)
            {
                JPanel panel = new JPanel();
                panels[i] = panel;

                GroupLayout l = new GroupLayout(panel);
                panel.Layout = l;
                panel.Border = BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Block " + i), null);

                l.HorizontalGroup = l.createSequentialGroup().addGroup(l.createParallelGroup().addComponent(registers[i][0][0]).addComponent(registers[i][1][0]).addComponent(registers[i][2][0]).addComponent(registers[i][3][0])).addGroup(l.createParallelGroup().addComponent(registers[i][0][1]).addComponent(registers[i][1][1]).addComponent(registers[i][2][1]).addComponent(registers[i][3][1])).addGroup(l.createParallelGroup().addComponent(registers[i][0][2]).addComponent(registers[i][1][2]).addComponent(registers[i][2][2]).addComponent(registers[i][3][2])).addGroup(l.createParallelGroup().addComponent(registers[i][0][3]).addComponent(registers[i][1][3]).addComponent(registers[i][2][3]).addComponent(registers[i][3][3]));
                l.VerticalGroup   = l.createSequentialGroup().addGroup(l.createParallelGroup().addComponent(registers[i][0][0]).addComponent(registers[i][0][1]).addComponent(registers[i][0][2]).addComponent(registers[i][0][3])).addGroup(l.createParallelGroup().addComponent(registers[i][1][0]).addComponent(registers[i][1][1]).addComponent(registers[i][1][2]).addComponent(registers[i][1][3])).addGroup(l.createParallelGroup().addComponent(registers[i][2][0]).addComponent(registers[i][2][1]).addComponent(registers[i][2][2]).addComponent(registers[i][2][3])).addGroup(l.createParallelGroup().addComponent(registers[i][3][0]).addComponent(registers[i][3][1]).addComponent(registers[i][3][2]).addComponent(registers[i][3][3]));
            }

            layout.HorizontalGroup = layout.createParallelGroup().addGroup(layout.createSequentialGroup().addComponent(panels[0]).addComponent(panels[1])).addGroup(layout.createSequentialGroup().addComponent(panels[2]).addComponent(panels[3])).addGroup(layout.createSequentialGroup().addComponent(panels[4]).addComponent(panels[5])).addGroup(layout.createSequentialGroup().addComponent(panels[6]).addComponent(panels[7]));
            layout.VerticalGroup   = layout.createParallelGroup().addGroup(layout.createSequentialGroup().addComponent(panels[0]).addComponent(panels[2]).addComponent(panels[4]).addComponent(panels[6])).addGroup(layout.createSequentialGroup().addComponent(panels[1]).addComponent(panels[3]).addComponent(panels[5]).addComponent(panels[7]));

            MinimumSize = new Dimension(450, 450);
            WindowPropSaver.loadWindowProperties(this);
        }
Пример #6
0
        public CheatsGUI()
        {
            initComponents();

            WindowPropSaver.loadWindowProperties(this);
        }
Пример #7
0
        /// <summary>
        /// Creates new form InstructionCounter
        /// </summary>
        public InstructionCounter()
        {
            initComponents();

            WindowPropSaver.loadWindowProperties(this);
        }