OSDN Git Service

MOD: Change to official name for frame title.
authorTakuya Ono <takuya-o@users.sourceforge.jp>
Sun, 22 Jul 2007 22:13:23 +0000 (22:13 +0000)
committerTakuya Ono <takuya-o@users.sourceforge.jp>
Sun, 22 Jul 2007 22:13:23 +0000 (22:13 +0000)
deploy/mdc.zip
src/org/jent/checksmtp/ApplicationUI.form
src/org/jent/checksmtp/ApplicationUI.java
src/org/jent/checksmtp/ToListUI.form
src/org/jent/checksmtp/ToListUI.java

index 6ad7e52..845bad5 100644 (file)
Binary files a/deploy/mdc.zip and b/deploy/mdc.zip differ
index 5470c8c..613c21d 100644 (file)
@@ -3,13 +3,14 @@
 <Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
   <Properties>
     <Property name="defaultCloseOperation" type="int" value="0"/>
-    <Property name="title" type="java.lang.String" value="Mail Dest. Confirm Properties"/>
+    <Property name="title" type="java.lang.String" value="Mail Destination Confirm Properties"/>
   </Properties>
   <SyntheticProperties>
     <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
   </SyntheticProperties>
   <Events>
-    <EventHandler event="componentHidden" listener="java.awt.event.ComponentListener" parameters="java.awt.event.ComponentEvent" handler="formComponentHidden"/>
+    <EventHandler event="windowDeiconified" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowDeiconified"/>
+    <EventHandler event="windowIconified" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowIconified"/>
   </Events>
   <AuxValues>
     <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
@@ -23,7 +24,7 @@
   <Layout>
     <DimensionLayout dim="0">
       <Group type="103" groupAlignment="0" attributes="0">
-          <Component id="jTabbedPane" alignment="0" pref="400" max="32767" attributes="0"/>
+          <Component id="jTabbedPane" alignment="0" max="32767" attributes="0"/>
           <Group type="102" alignment="1" attributes="0">
               <EmptySpace max="-2" attributes="0"/>
               <Component id="jButtonQuit" linkSize="1" min="-2" max="-2" attributes="0"/>
@@ -38,7 +39,7 @@
     <DimensionLayout dim="1">
       <Group type="103" groupAlignment="0" attributes="0">
           <Group type="102" alignment="0" attributes="0">
-              <Component id="jTabbedPane" pref="157" max="32767" attributes="0"/>
+              <Component id="jTabbedPane" max="32767" attributes="0"/>
               <EmptySpace max="-2" attributes="0"/>
               <Group type="103" groupAlignment="3" attributes="0">
                   <Component id="jButtonCancel" alignment="3" min="-2" max="-2" attributes="0"/>
index 2cf0c73..6dd1407 100644 (file)
@@ -69,10 +69,13 @@ public class ApplicationUI extends javax.swing.JFrame {
     jButtonQuit = new javax.swing.JButton();
 
     setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
-    setTitle("Mail Dest. Confirm Properties");
-    addComponentListener(new java.awt.event.ComponentAdapter() {
-      public void componentHidden(java.awt.event.ComponentEvent evt) {
-        formComponentHidden(evt);
+    setTitle("Mail Destination Confirm Properties");
+    addWindowListener(new java.awt.event.WindowAdapter() {
+      public void windowDeiconified(java.awt.event.WindowEvent evt) {
+        formWindowDeiconified(evt);
+      }
+      public void windowIconified(java.awt.event.WindowEvent evt) {
+        formWindowIconified(evt);
       }
     });
 
@@ -249,7 +252,7 @@ public class ApplicationUI extends javax.swing.JFrame {
     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(jTabbedPane)
       .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
         .addContainerGap()
         .add(jButtonQuit)
@@ -265,7 +268,7 @@ public class ApplicationUI extends javax.swing.JFrame {
     layout.setVerticalGroup(
       layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
       .add(layout.createSequentialGroup()
-        .add(jTabbedPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
+        .add(jTabbedPane)
         .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
         .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
           .add(jButtonCancel)
@@ -275,11 +278,15 @@ public class ApplicationUI extends javax.swing.JFrame {
     );
     pack();
   }// </editor-fold>//GEN-END:initComponents
-  
-  private void formComponentHidden(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentHidden
-// TODO add your handling code here:
-  }//GEN-LAST:event_formComponentHidden
-  
+
+  private void formWindowDeiconified(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowDeiconified
+    setTitle("Mail Destination Confirm Properties");
+  }//GEN-LAST:event_formWindowDeiconified
+
+  private void formWindowIconified(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowIconified
+    setTitle("mdc");
+  }//GEN-LAST:event_formWindowIconified
+    
   private void jButtonOKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonOKActionPerformed
     int port;
     try {
index ce83f6e..bc3dce3 100644 (file)
@@ -3,7 +3,7 @@
 <Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
   <Properties>
     <Property name="defaultCloseOperation" type="int" value="2"/>
-    <Property name="title" type="java.lang.String" value="Confirm Address"/>
+    <Property name="title" type="java.lang.String" value="Confirm Distination Address"/>
   </Properties>
   <SyntheticProperties>
     <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
index 33d055b..5a7f475 100644 (file)
@@ -83,7 +83,7 @@ public class ToListUI extends javax.swing.JFrame {
     jButtonCancel = new javax.swing.JButton();
 
     setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
-    setTitle("Confirm Address");
+    setTitle("Confirm Distination Address");
     addWindowListener(new java.awt.event.WindowAdapter() {
       public void windowClosed(java.awt.event.WindowEvent evt) {
         formWindowClosed(evt);