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

📄 readerwriter.form

📁 实现操作系统几个经典问题:生产者消费者,读者写者,哲学家进餐问题.共做一个界面
💻 FORM
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">  <AuxValues>    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>    <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 min="-2" pref="20" max="-2" attributes="0"/>              <Group type="103" groupAlignment="0" attributes="0">                  <Group type="102" alignment="0" attributes="0">                      <Group type="103" groupAlignment="0" attributes="0">                          <Group type="102" attributes="0">                              <Component id="readerList" min="-2" pref="119" max="-2" attributes="0"/>                              <EmptySpace max="-2" attributes="0"/>                              <Component id="stateLabel" pref="154" max="32767" attributes="0"/>                          </Group>                          <Group type="102" alignment="0" attributes="0">                              <EmptySpace min="-2" pref="101" max="-2" attributes="0"/>                              <Component id="addReaderButton" min="-2" max="-2" attributes="0"/>                              <EmptySpace pref="92" max="32767" attributes="0"/>                              <Component id="addWriterButton" min="-2" max="-2" attributes="0"/>                          </Group>                      </Group>                      <EmptySpace max="-2" attributes="0"/>                      <Component id="writerList" min="-2" pref="137" max="-2" attributes="0"/>                      <EmptySpace max="-2" attributes="0"/>                  </Group>                  <Group type="102" alignment="0" attributes="0">                      <Component id="jLabel1" pref="85" max="32767" attributes="0"/>                      <EmptySpace min="-2" pref="229" max="-2" attributes="0"/>                      <Component id="jLabel2" min="-2" max="-2" attributes="0"/>                      <EmptySpace min="-2" pref="66" 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"/>              <Group type="103" groupAlignment="3" attributes="0">                  <Component id="addReaderButton" alignment="3" min="-2" max="-2" attributes="0"/>                  <Component id="addWriterButton" alignment="3" min="-2" max="-2" attributes="0"/>              </Group>              <Group type="103" groupAlignment="0" attributes="0">                  <Group type="102" attributes="0">                      <EmptySpace min="-2" pref="39" max="-2" attributes="0"/>                      <Group type="103" groupAlignment="3" attributes="0">                          <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>                          <Component id="jLabel1" alignment="3" min="-2" pref="25" max="-2" attributes="0"/>                      </Group>                      <EmptySpace max="-2" attributes="0"/>                      <Group type="103" groupAlignment="1" attributes="0">                          <Component id="readerList" pref="173" max="32767" attributes="0"/>                          <Component id="writerList" pref="173" max="32767" attributes="0"/>                      </Group>                  </Group>                  <Component id="stateLabel" alignment="1" min="-2" pref="90" max="-2" attributes="0"/>              </Group>              <EmptySpace min="-2" pref="54" max="-2" attributes="0"/>          </Group>      </Group>    </DimensionLayout>  </Layout>  <SubComponents>    <Component class="javax.swing.JButton" name="addReaderButton">      <Properties>        <Property name="text" type="java.lang.String" value="&#x8bfb;"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addReaderButtonActionPerformed"/>      </Events>    </Component>    <Component class="javax.swing.JButton" name="addWriterButton">      <Properties>        <Property name="text" type="java.lang.String" value="&#x5199;"/>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addWriterButtonActionPerformed"/>      </Events>    </Component>    <Component class="javax.swing.JLabel" name="jLabel1">      <Properties>        <Property name="text" type="java.lang.String" value="&#x8bfb;&#x8005;&#x961f;&#x5217;&#xff1a;"/>      </Properties>    </Component>    <Component class="javax.swing.JLabel" name="jLabel2">      <Properties>        <Property name="text" type="java.lang.String" value="&#x5199;&#x8005;&#x961f;&#x5217;&#xff1a;"/>      </Properties>    </Component>    <Component class="javax.swing.JLabel" name="stateLabel">      <Properties>        <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">          <Color blue="ff" green="ff" red="ff" type="rgb"/>        </Property>        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">          <Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">            <LineBorder>              <Color PropertyName="color" blue="ff" green="99" red="cc" type="rgb"/>            </LineBorder>          </Border>        </Property>        <Property name="opaque" type="boolean" value="true"/>      </Properties>    </Component>    <Component class="java.awt.List" name="readerList">    </Component>    <Component class="java.awt.List" name="writerList">    </Component>  </SubComponents></Form>

⌨️ 快捷键说明

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