📄 addfoodframe.form
字号:
<Properties>
<Property name="text" type="java.lang.String" value="单价:"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="priceText">
</Component>
<Component class="javax.swing.JButton" name="addFood">
<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="addFoodActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="foodIdLabel">
<Properties>
<Property name="text" type="java.lang.String" value="编号:"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="foodIdText">
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="jPanel2">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
<TitledBorder title="修改食物信息"/>
</Border>
</Property>
</Properties>
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace min="-2" pref="32" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" alignment="0" attributes="1">
<Component id="foodNumLabel2" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="nameText1" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="priceLabel1" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" alignment="1" attributes="1">
<Component id="modifition" min="-2" pref="74" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Component id="reset" min="-2" pref="76" max="-2" attributes="0"/>
</Group>
<Component id="priceText1" alignment="0" min="-2" pref="216" max="-2" attributes="0"/>
</Group>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="storeLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="delFood" pref="95" max="32767" attributes="1"/>
<Component id="store" alignment="0" pref="95" max="32767" attributes="1"/>
<Component id="query" alignment="1" pref="95" max="32767" attributes="1"/>
</Group>
<EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace max="32767" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="foodNumLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="nameText1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="query" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="28" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="priceLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="priceText1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="storeLabel" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="store" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="21" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="reset" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="modifition" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="delFood" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="foodNumLabel2">
<Properties>
<Property name="text" type="java.lang.String" value="编号:"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="nameText1">
</Component>
<Component class="javax.swing.JButton" name="query">
<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="queryActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="priceLabel1">
<Properties>
<Property name="text" type="java.lang.String" value="单价:"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="storeLabel">
<Properties>
<Property name="text" type="java.lang.String" value="库存情况:"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="priceText1">
</Component>
<Component class="javax.swing.JComboBox" name="store">
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="2">
<StringItem index="0" value="有"/>
<StringItem index="1" value="无"/>
</StringArray>
</Property>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="modifition">
<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="modifitionActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="reset">
<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="resetActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="delFood">
<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="delFoodActionPerformed"/>
</Events>
</Component>
</SubComponents>
</Container>
</SubComponents>
</Form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -