This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 34450
Collapse All | Expand All

(-)autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.java (-16 / +15 lines)
Lines 24-32 Link Here
24
 */
24
 */
25
public class FinishDialog extends javax.swing.JPanel {
25
public class FinishDialog extends javax.swing.JPanel {
26
26
27
    /** Preferred size of this dialog */
28
    private static final java.awt.Dimension preferredSize = new java.awt.Dimension( 372, 180 );
29
30
    /** The only Finish panel instance in system */
27
    /** The only Finish panel instance in system */
31
    private static FinishDialog finishPanel;
28
    private static FinishDialog finishPanel;
32
    /** The dialog descriptor of Finish dialog */
29
    /** The dialog descriptor of Finish dialog */
Lines 44-54 Link Here
44
        initAccessibility();
41
        initAccessibility();
45
    }
42
    }
46
43
47
    /** Overload getPreffered size to get a bit bigger dialog */
48
    public java.awt.Dimension getPreferredSize() {
49
        return preferredSize;
50
    }
51
52
    /** This method is called from within the constructor to
44
    /** This method is called from within the constructor to
53
     * initialize the form.
45
     * initialize the form.
54
     * WARNING: Do NOT modify this code. The content of this method is
46
     * WARNING: Do NOT modify this code. The content of this method is
Lines 64-81 Link Here
64
56
65
        setLayout(new java.awt.GridBagLayout());
57
        setLayout(new java.awt.GridBagLayout());
66
58
67
        commentTextArea.setWrapStyleWord(true);
59
        commentTextArea.setBackground(restartRadioButton.getBackground());
60
        commentTextArea.setColumns(50);
61
        commentTextArea.setEditable(false);
68
        commentTextArea.setLineWrap(true);
62
        commentTextArea.setLineWrap(true);
63
        commentTextArea.setRows(6);
69
        commentTextArea.setText(getBundle("LBL_Finish_Comment"));
64
        commentTextArea.setText(getBundle("LBL_Finish_Comment"));
70
        commentTextArea.setBackground(restartRadioButton.getBackground());
65
        commentTextArea.setWrapStyleWord(true);
71
        commentTextArea.setDisabledTextColor(java.awt.Color.black);
66
        commentTextArea.setDisabledTextColor(java.awt.Color.black);
72
        commentTextArea.setEnabled(false);
67
        commentTextArea.setEnabled(false);
73
        gridBagConstraints = new java.awt.GridBagConstraints();
68
        gridBagConstraints = new java.awt.GridBagConstraints();
74
        gridBagConstraints.gridx = 0;
69
        gridBagConstraints.gridx = 0;
75
        gridBagConstraints.gridy = 0;
70
        gridBagConstraints.gridy = 0;
76
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
71
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
72
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
73
        gridBagConstraints.insets = new java.awt.Insets(12, 12, 12, 12);
77
        gridBagConstraints.weightx = 1.0;
74
        gridBagConstraints.weightx = 1.0;
78
        gridBagConstraints.insets = new java.awt.Insets(12, 12, 12, 6);
79
        add(commentTextArea, gridBagConstraints);
75
        add(commentTextArea, gridBagConstraints);
80
76
81
        restartRadioButton.setMnemonic(getBundle("CTL_Finish_Restart_Mnemonic").charAt(0));
77
        restartRadioButton.setMnemonic(getBundle("CTL_Finish_Restart_Mnemonic").charAt(0));
Lines 91-99 Link Here
91
        gridBagConstraints = new java.awt.GridBagConstraints();
87
        gridBagConstraints = new java.awt.GridBagConstraints();
92
        gridBagConstraints.gridx = 0;
88
        gridBagConstraints.gridx = 0;
93
        gridBagConstraints.gridy = 1;
89
        gridBagConstraints.gridy = 1;
90
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
94
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
91
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
95
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
96
        gridBagConstraints.insets = new java.awt.Insets(0, 24, 3, 0);
92
        gridBagConstraints.insets = new java.awt.Insets(0, 24, 3, 0);
93
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
97
        add(restartRadioButton, gridBagConstraints);
94
        add(restartRadioButton, gridBagConstraints);
98
95
99
        laterRadioButton.setMnemonic(getBundle("CTL_Finish_Later_Mnemonic").charAt(0));
96
        laterRadioButton.setMnemonic(getBundle("CTL_Finish_Later_Mnemonic").charAt(0));
Lines 108-117 Link Here
108
        gridBagConstraints = new java.awt.GridBagConstraints();
105
        gridBagConstraints = new java.awt.GridBagConstraints();
109
        gridBagConstraints.gridx = 0;
106
        gridBagConstraints.gridx = 0;
110
        gridBagConstraints.gridy = 2;
107
        gridBagConstraints.gridy = 2;
108
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
109
        gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
111
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
110
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
111
        gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0);
112
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
112
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
113
        gridBagConstraints.weighty = 1.0;
113
        gridBagConstraints.weighty = 1.0;
114
        gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0);
115
        add(laterRadioButton, gridBagConstraints);
114
        add(laterRadioButton, gridBagConstraints);
116
115
117
    }//GEN-END:initComponents
116
    }//GEN-END:initComponents
Lines 134-143 Link Here
134
    }
133
    }
135
134
136
    // Variables declaration - do not modify//GEN-BEGIN:variables
135
    // Variables declaration - do not modify//GEN-BEGIN:variables
136
    private javax.swing.ButtonGroup buttonGroup1;
137
    private javax.swing.JTextArea commentTextArea;
137
    private javax.swing.JTextArea commentTextArea;
138
    private javax.swing.JRadioButton restartRadioButton;
139
    private javax.swing.JRadioButton laterRadioButton;
138
    private javax.swing.JRadioButton laterRadioButton;
140
    private javax.swing.ButtonGroup buttonGroup1;
139
    private javax.swing.JRadioButton restartRadioButton;
141
    // End of variables declaration//GEN-END:variables
140
    // End of variables declaration//GEN-END:variables
142
    
141
    
143
    static boolean showDialog() {
142
    static boolean showDialog() {
(-)autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.form (-8 / +11 lines)
Lines 6-26 Link Here
6
    </Component>
6
    </Component>
7
  </NonVisualComponents>
7
  </NonVisualComponents>
8
  <AuxValues>
8
  <AuxValues>
9
    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,0,-84,0,0,1,115"/>
9
    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,126,0,0,1,-38"/>
10
  </AuxValues>
10
  </AuxValues>
11
11
12
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
12
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
13
  <SubComponents>
13
  <SubComponents>
14
    <Component class="javax.swing.JTextArea" name="commentTextArea">
14
    <Component class="javax.swing.JTextArea" name="commentTextArea">
15
      <Properties>
15
      <Properties>
16
        <Property name="wrapStyleWord" type="boolean" value="true"/>
16
        <Property name="background" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
17
          <Connection component="restartRadioButton" name="background" type="property"/>
18
        </Property>
19
        <Property name="columns" type="int" value="50"/>
20
        <Property name="editable" type="boolean" value="false"/>
17
        <Property name="lineWrap" type="boolean" value="true"/>
21
        <Property name="lineWrap" type="boolean" value="true"/>
22
        <Property name="rows" type="int" value="6"/>
18
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
23
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
19
          <ResourceString bundle="org/netbeans/modules/autoupdate/Bundle.properties" key="LBL_Finish_Comment" replaceFormat="getBundle(&quot;{key}&quot;)"/>
24
          <ResourceString bundle="org/netbeans/modules/autoupdate/Bundle.properties" key="LBL_Finish_Comment" replaceFormat="getBundle(&quot;{key}&quot;)"/>
20
        </Property>
25
        </Property>
21
        <Property name="background" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
26
        <Property name="wrapStyleWord" type="boolean" value="true"/>
22
          <Connection component="restartRadioButton" name="background" type="property"/>
23
        </Property>
24
        <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
27
        <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
25
          <Color blue="0" green="0" id="black" palette="1" red="0" type="palette"/>
28
          <Color blue="0" green="0" id="black" palette="1" red="0" type="palette"/>
26
        </Property>
29
        </Property>
Lines 28-34 Link Here
28
      </Properties>
31
      </Properties>
29
      <Constraints>
32
      <Constraints>
30
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
33
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
31
          <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="12" insetsBottom="12" insetsRight="6" anchor="10" weightX="1.0" weightY="0.0"/>
34
          <GridBagConstraints gridX="0" gridY="0" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="12" insetsBottom="12" insetsRight="12" anchor="10" weightX="1.0" weightY="0.0"/>
32
        </Constraint>
35
        </Constraint>
33
      </Constraints>
36
      </Constraints>
34
    </Component>
37
    </Component>
Lines 50-56 Link Here
50
      </Events>
53
      </Events>
51
      <Constraints>
54
      <Constraints>
52
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
55
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
53
          <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="24" insetsBottom="3" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
56
          <GridBagConstraints gridX="0" gridY="1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="24" insetsBottom="3" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
54
        </Constraint>
57
        </Constraint>
55
      </Constraints>
58
      </Constraints>
56
    </Component>
59
    </Component>
Lines 71-77 Link Here
71
      </Events>
74
      </Events>
72
      <Constraints>
75
      <Constraints>
73
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
76
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
74
          <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="24" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="1.0"/>
77
          <GridBagConstraints gridX="0" gridY="2" gridWidth="0" gridHeight="0" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="24" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="1.0"/>
75
        </Constraint>
78
        </Constraint>
76
      </Constraints>
79
      </Constraints>
77
    </Component>
80
    </Component>

Return to bug 34450