⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainframe.form

📁 一个简单的操作系统模拟程序 java+swing 可进行一般的文件操作 进程建立及删除等
💻 FORM
📖 第 1 页 / 共 3 页
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">  <NonVisualComponents>    <Menu class="javax.swing.JMenuBar" name="jMenuBar1">      <SubComponents>        <Menu class="javax.swing.JMenu" name="systemMenu">          <Properties>            <Property name="text" type="java.lang.String" value="System"/>          </Properties>          <SubComponents>            <MenuItem class="javax.swing.JMenuItem" name="pauseMenuItem">              <Properties>                <Property name="text" type="java.lang.String" value="Pause The System "/>              </Properties>              <Events>                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="pauseMenuItemActionPerformed"/>              </Events>            </MenuItem>            <MenuItem class="javax.swing.JMenuItem" name="resumeMenuItem">              <Properties>                <Property name="text" type="java.lang.String" value="Resume The System"/>              </Properties>              <Events>                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="resumeMenuItemActionPerformed"/>              </Events>            </MenuItem>            <MenuItem class="javax.swing.JMenuItem" name="shutdownMenuItem">              <Properties>                <Property name="text" type="java.lang.String" value="Shutdown The System"/>              </Properties>              <Events>                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="shutdownMenuItemActionPerformed"/>              </Events>            </MenuItem>          </SubComponents>        </Menu>        <Menu class="javax.swing.JMenu" name="helpMenu">          <Properties>            <Property name="text" type="java.lang.String" value="Help"/>          </Properties>          <SubComponents>            <MenuItem class="javax.swing.JMenuItem" name="aboutMenuItem">              <Properties>                <Property name="text" type="java.lang.String" value="About"/>              </Properties>              <Events>                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="aboutMenuItemActionPerformed"/>              </Events>            </MenuItem>            <Menu class="javax.swing.JMenu" name="TipMenu">              <Properties>                <Property name="text" type="java.lang.String" value="Tips"/>              </Properties>              <SubComponents>                <MenuItem class="javax.swing.JMenuItem" name="cmdtipsMenuItem">                  <Properties>                    <Property name="text" type="java.lang.String" value="Commend Tips"/>                  </Properties>                  <Events>                    <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cmdtipsMenuItemActionPerformed"/>                  </Events>                </MenuItem>                <MenuItem class="javax.swing.JMenuItem" name="systemTipMenuItem">                  <Properties>                    <Property name="text" type="java.lang.String" value="System Tips"/>                  </Properties>                  <Events>                    <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="systemTipMenuItemActionPerformed"/>                  </Events>                </MenuItem>              </SubComponents>            </Menu>          </SubComponents>        </Menu>      </SubComponents>    </Menu>  </NonVisualComponents>  <Properties>    <Property name="defaultCloseOperation" type="int" value="3"/>    <Property name="title" type="java.lang.String" value="The OS Simulation Program   Ver 0.2.1"/>    <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">      <Color blue="cc" green="cc" red="cc" type="rgb"/>    </Property>  </Properties>  <SyntheticProperties>    <SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/>    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>  </SyntheticProperties>  <AuxValues>    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>  </AuxValues>  <Layout>    <DimensionLayout dim="0">      <Group type="103" groupAlignment="0" attributes="0">          <Group type="102" alignment="0" attributes="0">              <EmptySpace max="-2" attributes="0"/>              <Component id="jPanel1" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Group type="103" groupAlignment="1" attributes="0">                  <Group type="102" alignment="0" attributes="0">                      <Component id="diskUsageBar" pref="285" max="32767" attributes="1"/>                      <EmptySpace max="-2" attributes="0"/>                  </Group>                  <Group type="102" alignment="1" attributes="0">                      <Group type="103" groupAlignment="1" attributes="0">                          <Component id="jScrollPane1" alignment="0" pref="281" max="32767" attributes="1"/>                          <Component id="cmdInputLabel" alignment="0" min="-2" max="-2" attributes="1"/>                          <Component id="cmdInputField" alignment="0" pref="281" max="32767" attributes="1"/>                          <Component id="cmdOutputLabel" alignment="0" pref="281" max="32767" attributes="1"/>                          <Component id="cmdHistoryLabel" alignment="0" pref="281" max="32767" attributes="1"/>                      </Group>                      <EmptySpace min="-2" pref="14" max="-2" attributes="0"/>                  </Group>                  <Group type="102" alignment="0" attributes="0">                      <Component id="diskUsageLabel" min="-2" pref="127" max="-2" attributes="0"/>                      <EmptySpace max="-2" attributes="0"/>                  </Group>                  <Group type="102" alignment="1" attributes="0">                      <Component id="jScrollPane2" pref="285" max="32767" attributes="1"/>                      <EmptySpace max="-2" attributes="0"/>                  </Group>              </Group>          </Group>      </Group>    </DimensionLayout>    <DimensionLayout dim="1">      <Group type="103" groupAlignment="0" attributes="0">          <Group type="102" attributes="0">              <EmptySpace max="-2" attributes="0"/>              <Component id="cmdInputLabel" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="cmdInputField" min="-2" pref="21" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="cmdHistoryLabel" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="cmdOutputLabel" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="jScrollPane1" min="-2" pref="227" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="diskUsageLabel" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="diskUsageBar" min="-2" max="-2" attributes="0"/>              <EmptySpace max="-2" attributes="0"/>              <Component id="jScrollPane2" min="-2" pref="138" max="-2" attributes="0"/>              <EmptySpace pref="13" max="32767" attributes="0"/>          </Group>          <Component id="jPanel1" alignment="0" max="32767" attributes="0"/>      </Group>    </DimensionLayout>  </Layout>  <SubComponents>    <Component class="javax.swing.JTextField" name="cmdInputField">      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cmdInputFieldActionPerformed"/>      </Events>    </Component>    <Container class="javax.swing.JScrollPane" name="jScrollPane1">      <AuxValues>        <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>      </AuxValues>      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>      <SubComponents>        <Component class="javax.swing.JTree" name="fileTree">        </Component>      </SubComponents>    </Container>    <Component class="javax.swing.JLabel" name="cmdOutputLabel">      <Properties>        <Property name="text" type="java.lang.String" value="Waiting for your commend..."/>      </Properties>    </Component>    <Container class="javax.swing.JScrollPane" name="jScrollPane2">      <Properties>        <Property name="horizontalScrollBarPolicy" type="int" value="31"/>      </Properties>      <AuxValues>        <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>      </AuxValues>      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>      <SubComponents>        <Component class="javax.swing.JTextArea" name="diskUsageArea">          <Properties>            <Property name="columns" type="int" value="20"/>            <Property name="editable" type="boolean" value="false"/>            <Property name="rows" type="int" value="5"/>          </Properties>        </Component>      </SubComponents>    </Container>    <Component class="javax.swing.JLabel" name="diskUsageLabel">      <Properties>        <Property name="text" type="java.lang.String" value="Disk Usage:"/>      </Properties>    </Component>    <Component class="javax.swing.JLabel" name="cmdHistoryLabel">      <Properties>        <Property name="text" type="java.lang.String" value="There is no Histroy."/>      </Properties>    </Component>    <Component class="javax.swing.JLabel" name="cmdInputLabel">      <Properties>        <Property name="text" type="java.lang.String" value="Type your commend here:"/>      </Properties>    </Component>    <Component class="javax.swing.JProgressBar" name="diskUsageBar">      <Properties>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -