diningphilosophers.form
来自「实现操作系统几个经典问题:生产者消费者,读者写者,哲学家进餐问题.共做一个界面」· FORM 代码 · 共 76 行
FORM
76 行
<?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="63" max="-2" attributes="0"/> <Component id="startButton" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="67" max="-2" attributes="0"/> <Component id="stopButton" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="61" max="-2" attributes="0"/> <Component id="resetButton" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="127" max="-2" attributes="0"/> </Group> <Group type="102" alignment="1" attributes="0"> <EmptySpace pref="234" max="32767" attributes="0"/> <Component id="list" min="-2" pref="186" max="-2" attributes="0"/> <EmptySpace min="-2" pref="32" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace min="-2" pref="18" max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="resetButton" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="stopButton" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="startButton" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="22" max="-2" attributes="0"/> <Component id="list" min="-2" pref="239" max="-2" attributes="0"/> <EmptySpace pref="31" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JButton" name="startButton"> <Properties> <Property name="text" type="java.lang.String" value="开始"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="startButtonActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="stopButton"> <Properties> <Property name="text" type="java.lang.String" value="停止"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="stopButtonActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="resetButton"> <Properties> <Property name="text" type="java.lang.String" value="重置"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="resetButtonActionPerformed"/> </Events> </Component> <Component class="java.awt.List" name="list"> </Component> </SubComponents></Form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?