Takuya Ono
takuy****@users*****
2007年 8月 22日 (水) 03:09:25 JST
Index: BetaProject/src/org/jent/checksmtp/ApplicationUI.form diff -u BetaProject/src/org/jent/checksmtp/ApplicationUI.form:1.7 BetaProject/src/org/jent/checksmtp/ApplicationUI.form:1.8 --- BetaProject/src/org/jent/checksmtp/ApplicationUI.form:1.7 Tue Aug 21 00:13:26 2007 +++ BetaProject/src/org/jent/checksmtp/ApplicationUI.form Wed Aug 22 03:09:24 2007 @@ -29,27 +29,27 @@ <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> - <Component id="jTabbedPane" alignment="0" pref="400" max="32767" attributes="0"/> - <Group type="102" alignment="1" attributes="0"> + <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jButtonQuit" linkSize="1" min="-2" max="-2" attributes="0"/> - <EmptySpace pref="190" max="32767" attributes="0"/> + <EmptySpace pref="133" max="32767" attributes="0"/> <Component id="jButtonOK" linkSize="1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jButtonCancel" linkSize="1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> + <Component id="jTabbedPane" alignment="0" pref="388" max="32767" attributes="0"/> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> - <Group type="102" alignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> <Component id="jTabbedPane" pref="141" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> + <Component id="jButtonQuit" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButtonCancel" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButtonOK" alignment="3" min="-2" max="-2" attributes="0"/> - <Component id="jButtonQuit" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> @@ -64,7 +64,7 @@ <Container class="javax.swing.JPanel" name="jPanelMail"> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> - <JTabbedPaneConstraints tabName="メール" toolTip="メール関係の設定"> + <JTabbedPaneConstraints tabName="Mail" toolTip="Mail relayted configuration."> <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="org/jent/checksmtp/Bundle.properties" key="ApplicationUI.jPanelMail.TabConstraints.tabTitle" replaceFormat="java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")"/> </Property> @@ -83,24 +83,26 @@ <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <Component id="jLabel1" linkSize="2" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" max="-2" attributes="0"/> + <Component id="jTextFieldReceiverPort" pref="51" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> - <Component id="jTextFieldReceiverPort" min="-2" pref="112" max="-2" attributes="0"/> - <EmptySpace pref="45" max="32767" attributes="1"/> - <Component id="jCheckBoxEnableRemoteConnect" min="-2" max="-2" attributes="0"/> + <Component id="jCheckBoxEnableRemoteConnect" min="-2" pref="207" max="-2" attributes="0"/> </Group> <Group type="102" alignment="0" attributes="0"> + <Component id="jLabel7" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="jTextFieldConfirmTimeout" pref="237" max="32767" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="1" attributes="0"> <Component id="jLabel2" linkSize="2" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" max="-2" attributes="0"/> - <Component id="jTextFieldServerHost" pref="150" max="32767" attributes="0"/> + <Component id="jTextFieldServerHost" pref="143" max="32767" attributes="0"/> <EmptySpace min="-2" max="-2" attributes="0"/> <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" max="-2" attributes="0"/> - <Component id="jTextFieldServerPort" pref="36" max="32767" attributes="0"/> - </Group> - <Group type="102" alignment="0" attributes="0"> - <Component id="jLabel7" min="-2" max="-2" attributes="0"/> - <EmptySpace max="-2" attributes="0"/> - <Component id="jTextFieldConfirmTimeout" pref="213" max="32767" attributes="0"/> + <Component id="jTextFieldServerPort" pref="69" max="32767" attributes="0"/> + <EmptySpace min="-2" max="-2" attributes="0"/> </Group> </Group> <EmptySpace min="-2" max="-2" attributes="0"/> @@ -113,14 +115,14 @@ <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> - <Component id="jCheckBoxEnableRemoteConnect" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jTextFieldReceiverPort" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jCheckBoxEnableRemoteConnect" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <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="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jTextFieldServerHost" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jTextFieldServerPort" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace pref="27" max="32767" attributes="0"/> @@ -167,7 +169,7 @@ <Connection code="new PortNumberInputVerifier()" type="code"/> </Property> <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> - <Dimension value="[1, 19]"/> + <Dimension value="[44, 19]"/> </Property> </Properties> </Component> @@ -180,7 +182,7 @@ <ResourceString bundle="org/jent/checksmtp/Bundle.properties" key="ApplicationUI.jTextFieldServerHost.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")"/> </Property> <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> - <Dimension value="[1, 19]"/> + <Dimension value="[88, 19]"/> </Property> </Properties> </Component> @@ -195,6 +197,9 @@ <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> <Connection code="new PortNumberInputVerifier()" type="code"/> </Property> + <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> + <Dimension value="[44, 19]"/> + </Property> </Properties> </Component> <Component class="javax.swing.JCheckBox" name="jCheckBoxEnableRemoteConnect"> @@ -243,7 +248,7 @@ <Container class="javax.swing.JPanel" name="jPanelLDAP"> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> - <JTabbedPaneConstraints tabName="LDAP" toolTip="LDAP関係の設定"> + <JTabbedPaneConstraints tabName="LDAP" toolTip="LDAP configuration."> <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="org/jent/checksmtp/Bundle.properties" key="ApplicationUI.jPanelLDAP.TabConstraints.tabTitle" replaceFormat="java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")"/> </Property> @@ -268,10 +273,10 @@ </Group> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> - <Component id="jTextFieldAttribute" alignment="0" pref="297" max="32767" attributes="0"/> - <Component id="jTextFieldBaseDn" pref="297" max="32767" attributes="0"/> + <Component id="jTextFieldAttribute" alignment="0" pref="288" max="32767" attributes="0"/> + <Component id="jTextFieldBaseDn" pref="288" max="32767" attributes="0"/> <Group type="102" alignment="0" attributes="0"> - <Component id="jTextFieldProviderUrl" pref="212" max="32767" attributes="0"/> + <Component id="jTextFieldProviderUrl" pref="205" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jCheckBoxIsSjis" min="-2" max="-2" attributes="0"/> </Group> @@ -412,7 +417,7 @@ <Container class="javax.swing.JPanel" name="jPanelAbout"> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> - <JTabbedPaneConstraints tabName="情報" toolTip="このプログラムについて"> + <JTabbedPaneConstraints tabName="About" toolTip="About this program."> <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="org/jent/checksmtp/Bundle.properties" key="ApplicationUI.jPanelAbout.TabConstraints.tabTitle" replaceFormat="java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")"/> </Property> Index: BetaProject/src/org/jent/checksmtp/ApplicationUI.java diff -u BetaProject/src/org/jent/checksmtp/ApplicationUI.java:1.8 BetaProject/src/org/jent/checksmtp/ApplicationUI.java:1.9 --- BetaProject/src/org/jent/checksmtp/ApplicationUI.java:1.8 Tue Aug 21 00:13:26 2007 +++ BetaProject/src/org/jent/checksmtp/ApplicationUI.java Wed Aug 22 03:09:24 2007 @@ -171,15 +171,16 @@ jTextFieldReceiverPort.setText(bundle.getString("ApplicationUI.jTextFieldReceiverPort.text")); // NOI18N jTextFieldReceiverPort.setToolTipText(bundle.getString("ApplicationUI.jTextFieldReceiverPort.toolTipText")); // NOI18N jTextFieldReceiverPort.setInputVerifier(new PortNumberInputVerifier()); - jTextFieldReceiverPort.setMinimumSize(new java.awt.Dimension(1, 19)); + jTextFieldReceiverPort.setMinimumSize(new java.awt.Dimension(44, 19)); jTextFieldServerHost.setText(bundle.getString("ApplicationUI.jTextFieldServerHost.text")); // NOI18N jTextFieldServerHost.setToolTipText(bundle.getString("ApplicationUI.jTextFieldServerHost.toolTipText")); // NOI18N - jTextFieldServerHost.setMinimumSize(new java.awt.Dimension(1, 19)); + jTextFieldServerHost.setMinimumSize(new java.awt.Dimension(88, 19)); jTextFieldServerPort.setText(bundle.getString("ApplicationUI.jTextFieldServerPort.text")); // NOI18N jTextFieldServerPort.setToolTipText(bundle.getString("ApplicationUI.jTextFieldServerPort.toolTipText")); // NOI18N jTextFieldServerPort.setInputVerifier(new PortNumberInputVerifier()); + jTextFieldServerPort.setMinimumSize(new java.awt.Dimension(44, 19)); jCheckBoxEnableRemoteConnect.setText(bundle.getString("ApplicationUI.jCheckBoxEnableRemoteConnect.text")); // NOI18N jCheckBoxEnableRemoteConnect.setToolTipText(bundle.getString("ApplicationUI.jCheckBoxEnableRemoteConnect.toolTipText")); // NOI18N @@ -204,21 +205,23 @@ .add(jPanelMailLayout.createSequentialGroup() .add(jLabel1) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) - .add(jTextFieldReceiverPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 112, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) - .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 45, Short.MAX_VALUE) - .add(jCheckBoxEnableRemoteConnect)) + .add(jTextFieldReceiverPort, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 51, Short.MAX_VALUE) + .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) + .add(jCheckBoxEnableRemoteConnect, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 207, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(jPanelMailLayout.createSequentialGroup() + .add(jLabel7) + .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) + .add(jTextFieldConfirmTimeout, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 237, Short.MAX_VALUE) + .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)) + .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanelMailLayout.createSequentialGroup() .add(jLabel2) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) - .add(jTextFieldServerHost, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE) + .add(jTextFieldServerHost, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 143, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jLabel3) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) - .add(jTextFieldServerPort, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 36, Short.MAX_VALUE)) - .add(jPanelMailLayout.createSequentialGroup() - .add(jLabel7) - .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) - .add(jTextFieldConfirmTimeout, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 213, Short.MAX_VALUE))) + .add(jTextFieldServerPort, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 69, Short.MAX_VALUE) + .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .addContainerGap()) ); @@ -230,13 +233,13 @@ .addContainerGap() .add(jPanelMailLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel1) - .add(jCheckBoxEnableRemoteConnect) - .add(jTextFieldReceiverPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) + .add(jTextFieldReceiverPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) + .add(jCheckBoxEnableRemoteConnect)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanelMailLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel2) - .add(jLabel3) .add(jTextFieldServerHost, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) + .add(jLabel3) .add(jTextFieldServerPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 27, Short.MAX_VALUE) .add(jPanelMailLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) @@ -244,7 +247,7 @@ .add(jTextFieldConfirmTimeout, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap()) ); - jTabbedPane.addTab(bundle.getString("ApplicationUI.jPanelMail.TabConstraints.tabTitle"), jPanelMail); // NOI18N + jTabbedPane.addTab(bundle.getString("ApplicationUI.jPanelMail.TabConstraints.tabTitle"), null, jPanelMail, bundle.getString("ApplicationUI.jPanelMail.TabConstraints tabToolTip")); // NOI18N jCheckBoxLdap.setText(bundle.getString("ApplicationUI.jCheckBoxLdap.text")); // NOI18N jCheckBoxLdap.setToolTipText(bundle.getString("ApplicationUI.jCheckBoxLdap.toolTipText")); // NOI18N @@ -294,10 +297,10 @@ .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel4)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanelLDAPLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) - .add(jTextFieldAttribute, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 297, Short.MAX_VALUE) - .add(jTextFieldBaseDn, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 297, Short.MAX_VALUE) + .add(jTextFieldAttribute, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 288, Short.MAX_VALUE) + .add(jTextFieldBaseDn, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 288, Short.MAX_VALUE) .add(jPanelLDAPLayout.createSequentialGroup() - .add(jTextFieldProviderUrl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 212, Short.MAX_VALUE) + .add(jTextFieldProviderUrl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 205, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jCheckBoxIsSjis)))) .add(jPanelLDAPLayout.createSequentialGroup() @@ -328,7 +331,7 @@ .add(jTextFieldAttribute, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); - jTabbedPane.addTab(bundle.getString("ApplicationUI.jPanelLDAP.TabConstraints.tabTitle"), jPanelLDAP); // NOI18N + jTabbedPane.addTab(bundle.getString("ApplicationUI.jPanelLDAP.TabConstraints.tabTitle"), null, jPanelLDAP, bundle.getString("ApplicationUI.jPanelLDAP.TabConstraints tabToolTip")); // NOI18N jLabelProgramName.setFont(new java.awt.Font("Dialog", 1, 18)); jLabelProgramName.setText(bundle.getString("ApplicationUI.jLabelProgramName.text")); // NOI18N @@ -366,7 +369,7 @@ .add(jLabelSfURL) .addContainerGap(57, Short.MAX_VALUE)) ); - jTabbedPane.addTab(bundle.getString("ApplicationUI.jPanelAbout.TabConstraints.tabTitle"), jPanelAbout); // NOI18N + jTabbedPane.addTab(bundle.getString("ApplicationUI.jPanelAbout.TabConstraints.tabTitle"), null, jPanelAbout, bundle.getString("ApplicationUI.jPanelAbout.TabConstraints tabToolTip")); // NOI18N jButtonOK.setText(bundle.getString("ApplicationUI.jButtonOK.text")); // NOI18N jButtonOK.setToolTipText(bundle.getString("ApplicationUI.jButtonOK.toolTipText")); // NOI18N @@ -396,28 +399,28 @@ getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) - .add(jTabbedPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE) - .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() + .add(layout.createSequentialGroup() .addContainerGap() .add(jButtonQuit) - .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 190, Short.MAX_VALUE) + .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 133, Short.MAX_VALUE) .add(jButtonOK) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jButtonCancel) .addContainerGap()) + .add(jTabbedPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE) ); layout.linkSize(new java.awt.Component[] {jButtonCancel, jButtonOK, jButtonQuit}, org.jdesktop.layout.GroupLayout.HORIZONTAL); layout.setVerticalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) - .add(layout.createSequentialGroup() + .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() .add(jTabbedPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 141, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) + .add(jButtonQuit) .add(jButtonCancel) - .add(jButtonOK) - .add(jButtonQuit)) + .add(jButtonOK)) .addContainerGap()) ); pack();