Index: autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.java
===================================================================
RCS file: /cvs/autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.java,v
retrieving revision 1.5
diff -u -r1.5 FinishDialog.java
--- autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.java 3 Dec 2002 14:09:16 -0000 1.5
+++ autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.java 18 Jun 2003 17:20:47 -0000
@@ -24,9 +24,6 @@
*/
public class FinishDialog extends javax.swing.JPanel {
- /** Preferred size of this dialog */
- private static final java.awt.Dimension preferredSize = new java.awt.Dimension( 372, 180 );
-
/** The only Finish panel instance in system */
private static FinishDialog finishPanel;
/** The dialog descriptor of Finish dialog */
@@ -44,11 +41,6 @@
initAccessibility();
}
- /** Overload getPreffered size to get a bit bigger dialog */
- public java.awt.Dimension getPreferredSize() {
- return preferredSize;
- }
-
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
@@ -64,18 +56,22 @@
setLayout(new java.awt.GridBagLayout());
- commentTextArea.setWrapStyleWord(true);
+ commentTextArea.setBackground(restartRadioButton.getBackground());
+ commentTextArea.setColumns(50);
+ commentTextArea.setEditable(false);
commentTextArea.setLineWrap(true);
+ commentTextArea.setRows(6);
commentTextArea.setText(getBundle("LBL_Finish_Comment"));
- commentTextArea.setBackground(restartRadioButton.getBackground());
+ commentTextArea.setWrapStyleWord(true);
commentTextArea.setDisabledTextColor(java.awt.Color.black);
commentTextArea.setEnabled(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
- gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+ gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
+ gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
+ gridBagConstraints.insets = new java.awt.Insets(12, 12, 12, 12);
gridBagConstraints.weightx = 1.0;
- gridBagConstraints.insets = new java.awt.Insets(12, 12, 12, 6);
add(commentTextArea, gridBagConstraints);
restartRadioButton.setMnemonic(getBundle("CTL_Finish_Restart_Mnemonic").charAt(0));
@@ -91,9 +87,10 @@
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
+ gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(0, 24, 3, 0);
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
add(restartRadioButton, gridBagConstraints);
laterRadioButton.setMnemonic(getBundle("CTL_Finish_Later_Mnemonic").charAt(0));
@@ -108,10 +105,12 @@
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
+ gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
+ gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+ gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0);
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 1.0;
- gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0);
add(laterRadioButton, gridBagConstraints);
}//GEN-END:initComponents
@@ -134,10 +133,10 @@
}
// Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.ButtonGroup buttonGroup1;
private javax.swing.JTextArea commentTextArea;
- private javax.swing.JRadioButton restartRadioButton;
private javax.swing.JRadioButton laterRadioButton;
- private javax.swing.ButtonGroup buttonGroup1;
+ private javax.swing.JRadioButton restartRadioButton;
// End of variables declaration//GEN-END:variables
static boolean showDialog() {
Index: autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.form
===================================================================
RCS file: /cvs/autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.form,v
retrieving revision 1.3
diff -u -r1.3 FinishDialog.form
--- autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.form 2 Dec 2002 12:22:59 -0000 1.3
+++ autoupdate/src/org/netbeans/modules/autoupdate/FinishDialog.form 18 Jun 2003 17:20:47 -0000
@@ -6,21 +6,24 @@
-
+
-
+
+
+
+
+
+
-
-
-
+
@@ -28,7 +31,7 @@
-
+
@@ -50,7 +53,7 @@
-
+
@@ -71,7 +74,7 @@
-
+