📄 frmmain.form
字号:
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> <Table columnCount="4" rowCount="10"> <Column editable="true" title="Type" type="java.lang.Object"/> <Column editable="true" title="File Name" type="java.lang.Object"/> <Column editable="true" title="Size Bytes" type="java.lang.Object"/> <Column editable="true" title="Check Sum (CRC-32)" type="java.lang.Object"/> </Table> </Property> <Property name="toolTipText" type="java.lang.String" value="My Shared Files"/> </Properties> </Component> </SubComponents> </Container> <Component class="javax.swing.JSeparator" name="jSeparator4"> </Component> <Component class="javax.swing.JButton" name="btnReload"> <Properties> <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> <Image iconType="3" name="/myPackage/myIcons/24x24/reloadIcon.png"/> </Property> <Property name="mnemonic" type="int" value="82"/> <Property name="text" type="java.lang.String" value="Reload"/> <Property name="toolTipText" type="java.lang.String" value="Refreshing Shared Files."/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnReloadActionPerformed"/> </Events> </Component> </SubComponents> </Container> <Container class="javax.swing.JPanel" name="jPanel4"> <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="Download Status:"/> </Border> </Property> </Properties> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> <JTabbedPaneConstraints tabName="Downloads" toolTip="Downloads Status"> <Property name="tabTitle" type="java.lang.String" value="Downloads"/> <Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> <Image iconType="3" name="/myPackage/myIcons/24x24/downloadIcon.png"/> </Property> <Property name="tabToolTip" type="java.lang.String" value="Downloads Status"/> </JTabbedPaneConstraints> </Constraint> </Constraints> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Component id="jLabel3" alignment="0" max="32767" attributes="1"/> <Component id="jLabel2" alignment="0" pref="65" max="32767" attributes="1"/> <Component id="jLabel4" alignment="0" max="32767" attributes="1"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="1" max="-2" attributes="0"> <Component id="myProgressBar" max="32767" attributes="1"/> <Component id="lblStatus" alignment="0" max="32767" attributes="1"/> <Group type="102" alignment="0" attributes="0"> <Component id="lblFilename" min="-2" pref="313" max="-2" attributes="1"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> <EmptySpace min="-2" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" max="-2" attributes="0"> <Component id="btnVerify" max="32767" attributes="1"/> <Component id="btnCancel" alignment="0" max="32767" attributes="1"/> </Group> <EmptySpace pref="281" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="lblFilename" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="btnVerify" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="lblStatus" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="myProgressBar" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="btnCancel" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace pref="397" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JLabel" name="jLabel2"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="Tahoma" size="11" style="1"/> </Property> <Property name="text" type="java.lang.String" value="File Name:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel3"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="Tahoma" size="11" style="1"/> </Property> <Property name="text" type="java.lang.String" value="Status:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="jLabel4"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="Tahoma" size="11" style="1"/> </Property> <Property name="text" type="java.lang.String" value="Complited:"/> </Properties> </Component> <Component class="javax.swing.JLabel" name="lblFilename"> <Properties> <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> <Font name="Tahoma" size="12" style="1"/> </Property> <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="0" green="0" red="99" type="rgb"/> </Property> <Property name="horizontalAlignment" type="int" value="0"/> <Property name="text" type="java.lang.String" value="None"/> <Property name="toolTipText" type="java.lang.String" value="Downloading file name"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.BevelBorderInfo"> <BevelBorder bevelType="1"/> </Border> </Property> </Properties> </Component> <Component class="javax.swing.JLabel" name="lblStatus"> <Properties> <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> <Color blue="99" green="0" red="0" type="rgb"/> </Property> <Property name="text" type="java.lang.String" value="Waiting....."/> <Property name="toolTipText" type="java.lang.String" value="Status of current download"/> </Properties> </Component> <Component class="javax.swing.JProgressBar" name="myProgressBar"> <Properties> <Property name="stringPainted" type="boolean" value="true"/> </Properties> <AuxValues> <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/> </AuxValues> </Component> <Component class="javax.swing.JButton" name="btnVerify"> <Properties> <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> <Image iconType="3" name="/myPackage/myIcons/16x16/varifyIcon.png"/> </Property> <Property name="text" type="java.lang.String" value="Verify"/> <Property name="toolTipText" type="java.lang.String" value="Verify Downloaded File"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnVerifyActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="btnCancel"> <Properties> <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> <Image iconType="3" name="/myPackage/myIcons/16x16/cancelIcon.png"/> </Property> <Property name="text" type="java.lang.String" value="Cancel"/> <Property name="toolTipText" type="java.lang.String" value="Cancel Download"/> <Property name="enabled" type="boolean" value="false"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCancelActionPerformed"/> </Events> </Component> </SubComponents> </Container> <Container class="javax.swing.JPanel" name="jPanel5"> <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="Peers Chatting Service:"/> </Border> </Property> </Properties> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> <JTabbedPaneConstraints tabName="Chat" toolTip="Peers Messenger"> <Property name="tabTitle" type="java.lang.String" value="Chat"/> <Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> <Image iconType="3" name="/myPackage/myIcons/24x24/MessengerIcon.png"/> </Property> <Property name="tabToolTip" type="java.lang.String" value="Peers Messenger"/> </JTabbedPaneConstraints> </Constraint> </Constraints> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jSeparator5" alignment="0" pref="748" max="32767" attributes="0"/> <Component id="jScrollPane4" alignment="0" pref="748" max="32767" attributes="0"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -