<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"/>
<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"/>
<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"/>
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);
}
});
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)
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)
);
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 {