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 31390
Collapse All | Expand All

(-)db/src/org/netbeans/modules/db/explorer/dataview/DataViewWindow.java (-2 / +3 lines)
Lines 129-137 Link Here
129
            subcon.insets = new java.awt.Insets (0, 0, 5, 0);
129
            subcon.insets = new java.awt.Insets (0, 0, 5, 0);
130
            subcon.fill = GridBagConstraints.HORIZONTAL;
130
            subcon.fill = GridBagConstraints.HORIZONTAL;
131
            subcon.anchor = GridBagConstraints.SOUTH;
131
            subcon.anchor = GridBagConstraints.SOUTH;
132
            JButton fetchbtn = new JButton(bundle.getString("ExecuteButton")); //NOI18N
132
            JButton fetchbtn = new JButton();
133
            org.openide.awt.Mnemonics.setLocalizedText(fetchbtn,
134
                    bundle.getString("ExecuteButton")); //NOI18N
133
            fetchbtn.setToolTipText(bundle.getString("ACS_ExecuteButtonA11yDesc"));
135
            fetchbtn.setToolTipText(bundle.getString("ACS_ExecuteButtonA11yDesc"));
134
            fetchbtn.setMnemonic(bundle.getString("ExecuteButton_Mnemonic").charAt(0));
135
            sublayout.setConstraints(fetchbtn, subcon);
136
            sublayout.setConstraints(fetchbtn, subcon);
136
            subpane.add(fetchbtn);
137
            subpane.add(fetchbtn);
137
            fetchbtn.addActionListener(new ActionListener() {
138
            fetchbtn.addActionListener(new ActionListener() {
(-)db/src/org/netbeans/modules/db/explorer/dlg/AddDriverDialog.java (-6 / +9 lines)
Lines 43-50 Link Here
43
43
44
            // Driver name
44
            // Driver name
45
45
46
            label = new JLabel(bundle.getString("AddDriverDriverName")); //NOI18N
46
            label = new JLabel();
47
            label.setDisplayedMnemonic(bundle.getString("AddDriverDriverName_Mnemonic").charAt(0));
47
            org.openide.awt.Mnemonics.setLocalizedText(label,
48
                    bundle.getString("AddDriverDriverName")); //NOI18N
48
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddDriverDriverNameA11yDesc"));
49
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddDriverDriverNameA11yDesc"));
49
            con.anchor = GridBagConstraints.WEST;
50
            con.anchor = GridBagConstraints.WEST;
50
            con.insets = new java.awt.Insets (2, 2, 2, 2);
51
            con.insets = new java.awt.Insets (2, 2, 2, 2);
Lines 67-74 Link Here
67
68
68
            // Driver label and field
69
            // Driver label and field
69
70
70
            label = new JLabel(bundle.getString("AddDriverDriverURL")); //NOI18N
71
            label = new JLabel();
71
            label.setDisplayedMnemonic(bundle.getString("AddDriverDriverURL_Mnemonic").charAt(0));
72
            org.openide.awt.Mnemonics.setLocalizedText(label,
73
                    bundle.getString("AddDriverDriverURL")); //NOI18N
72
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddDriverDriverURLA11yDesc"));
74
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddDriverDriverURLA11yDesc"));
73
            con.anchor = GridBagConstraints.WEST;
75
            con.anchor = GridBagConstraints.WEST;
74
            con.insets = new java.awt.Insets (2, 2, 2, 2);
76
            con.insets = new java.awt.Insets (2, 2, 2, 2);
Lines 91-98 Link Here
91
93
92
            // Database prefix title and field
94
            // Database prefix title and field
93
95
94
            label = new JLabel(bundle.getString("AddDriverDatabasePrefix")); //NOI18N
96
            label = new JLabel();
95
            label.setDisplayedMnemonic(bundle.getString("AddDriverDatabasePrefix_Mnemonic").charAt(0));
97
            org.openide.awt.Mnemonics.setLocalizedText(label,
98
                    bundle.getString("AddDriverDatabasePrefix")); //NOI18N
96
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddDriverDatabasePrefixA11yDesc"));
99
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddDriverDatabasePrefixA11yDesc"));
97
            con.anchor = GridBagConstraints.WEST;
100
            con.anchor = GridBagConstraints.WEST;
98
            con.insets = new java.awt.Insets (2, 2, 2, 2);
101
            con.insets = new java.awt.Insets (2, 2, 2, 2);
(-)db/src/org/netbeans/modules/db/explorer/dlg/AddIndexDialog.java (-4 / +6 lines)
Lines 49-56 Link Here
49
49
50
            // Index name
50
            // Index name
51
51
52
            JLabel label = new JLabel(bundle.getString("AddIndexName")); //NOI18N
52
            JLabel label = new JLabel();
53
            label.setDisplayedMnemonic(bundle.getString("AddIndexName_Mnemonic").charAt(0));
53
            org.openide.awt.Mnemonics.setLocalizedText(label,
54
                    bundle.getString("AddIndexName")); //NOI18N
54
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddIndexNameA11yDesc"));
55
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddIndexNameA11yDesc"));
55
            con.anchor = GridBagConstraints.WEST;
56
            con.anchor = GridBagConstraints.WEST;
56
            con.insets = new java.awt.Insets (2, 2, 2, 2);
57
            con.insets = new java.awt.Insets (2, 2, 2, 2);
Lines 90-97 Link Here
90
            con.gridx = 1;
91
            con.gridx = 1;
91
            con.gridy = 1;
92
            con.gridy = 1;
92
            con.insets = new java.awt.Insets (2, 2, 2, 2);
93
            con.insets = new java.awt.Insets (2, 2, 2, 2);
93
            cbx_uq = new JCheckBox(bundle.getString("Unique"));
94
            cbx_uq = new JCheckBox();
94
            cbx_uq.setMnemonic(bundle.getString("Unique_Mnemonic").charAt(0));
95
            org.openide.awt.Mnemonics.setLocalizedText(cbx_uq,
96
                    bundle.getString("Unique"));
95
            cbx_uq.setToolTipText(bundle.getString("ACS_UniqueA11yDesc"));
97
            cbx_uq.setToolTipText(bundle.getString("ACS_UniqueA11yDesc"));
96
            label_uq.setLabelFor(cbx_uq);
98
            label_uq.setLabelFor(cbx_uq);
97
            layout.setConstraints(cbx_uq, con);
99
            layout.setConstraints(cbx_uq, con);
(-)db/src/org/netbeans/modules/db/explorer/dlg/AddTableColumnDialog.java (-20 / +30 lines)
Lines 69-76 Link Here
69
69
70
            // Column name
70
            // Column name
71
71
72
            label = new JLabel(bundle.getString("AddTableColumnName")); //NOI18N
72
            label = new JLabel();
73
            label.setDisplayedMnemonic(bundle.getString("AddTableColumnName_Mnemonic").charAt(0));
73
            org.openide.awt.Mnemonics.setLocalizedText(label,
74
                    bundle.getString("AddTableColumnName")); //NOI18N
74
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnNameA11yDesc"));
75
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnNameA11yDesc"));
75
            con = new GridBagConstraints ();
76
            con = new GridBagConstraints ();
76
            con.gridx = 0;
77
            con.gridx = 0;
Lines 115-122 Link Here
115
            item.setProperty(ColumnItem.TYPE, ttab.elementAt(0));
116
            item.setProperty(ColumnItem.TYPE, ttab.elementAt(0));
116
            dmodel.addRow(item);
117
            dmodel.addRow(item);
117
118
118
            label = new JLabel(bundle.getString("AddTableColumnType")); //NOI18N
119
            label = new JLabel();
119
            label.setDisplayedMnemonic(bundle.getString("AddTableColumnType_Mnemonic").charAt(0));
120
            org.openide.awt.Mnemonics.setLocalizedText(label,
121
                    bundle.getString("AddTableColumnType")); //NOI18N
120
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnTypeA11yDesc"));
122
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnTypeA11yDesc"));
121
            con = new GridBagConstraints ();
123
            con = new GridBagConstraints ();
122
            con.gridx = 0;
124
            con.gridx = 0;
Lines 148-155 Link Here
148
150
149
            // Column size
151
            // Column size
150
152
151
            label = new JLabel(bundle.getString("AddTableColumnSize")); //NOI18N
153
            label = new JLabel();
152
            label.setDisplayedMnemonic(bundle.getString("AddTableColumnSize_Mnemonic").charAt(0));
154
            org.openide.awt.Mnemonics.setLocalizedText(label,
155
                    bundle.getString("AddTableColumnSize")); //NOI18N
153
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnSizeA11yDesc"));
156
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnSizeA11yDesc"));
154
            con = new GridBagConstraints ();
157
            con = new GridBagConstraints ();
155
            con.gridx = 0;
158
            con.gridx = 0;
Lines 181-188 Link Here
181
184
182
            // Column scale
185
            // Column scale
183
186
184
            label = new JLabel(bundle.getString("AddTableColumnScale")); //NOI18N
187
            label = new JLabel();
185
            label.setDisplayedMnemonic(bundle.getString("AddTableColumnScale_Mnemonic").charAt(0));
188
            org.openide.awt.Mnemonics.setLocalizedText(label,
189
                    bundle.getString("AddTableColumnScale")); //NOI18N
186
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnScaleA11yDesc"));
190
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnScaleA11yDesc"));
187
            con = new GridBagConstraints ();
191
            con = new GridBagConstraints ();
188
            con.gridx = 2;
192
            con.gridx = 2;
Lines 214-221 Link Here
214
218
215
            // Column default value
219
            // Column default value
216
220
217
            label = new JLabel(bundle.getString("AddTableColumnDefault")); //NOI18N
221
            label = new JLabel();
218
            label.setDisplayedMnemonic(bundle.getString("AddTableColumnDefault_Mnemonic").charAt(0));
222
            org.openide.awt.Mnemonics.setLocalizedText(label,
223
                    bundle.getString("AddTableColumnDefault")); //NOI18N
219
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnDefaultA11yDesc"));
224
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddTableColumnDefaultA11yDesc"));
220
            con = new GridBagConstraints ();
225
            con = new GridBagConstraints ();
221
            con.gridx = 0;
226
            con.gridx = 0;
Lines 264-273 Link Here
264
            con.insets = new java.awt.Insets (0, 0, 0, 0);
269
            con.insets = new java.awt.Insets (0, 0, 0, 0);
265
            con.weightx = 0.0;
270
            con.weightx = 0.0;
266
            con.weighty = 0.0;
271
            con.weighty = 0.0;
267
            pkcheckbox = new JCheckBox(" "+bundle.getString("AddTableColumnConstraintPKTitle")); //NOI18N
272
            pkcheckbox = new JCheckBox();
273
            org.openide.awt.Mnemonics.setLocalizedText(pkcheckbox,
274
                    " "+bundle.getString("AddTableColumnConstraintPKTitle")); //NOI18N
268
            pkcheckbox.setName(ColumnItem.PRIMARY_KEY);
275
            pkcheckbox.setName(ColumnItem.PRIMARY_KEY);
269
            pkcheckbox.addActionListener(cbxlistener);
276
            pkcheckbox.addActionListener(cbxlistener);
270
            pkcheckbox.setMnemonic(bundle.getString("AddTableColumnConstraintPKTitle_Mnemonic").charAt(0));
271
            pkcheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnConstraintPKTitleA11yDesc"));
277
            pkcheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnConstraintPKTitleA11yDesc"));
272
            subpane.add(pkcheckbox, con);
278
            subpane.add(pkcheckbox, con);
273
279
Lines 280-289 Link Here
280
            con.insets = new java.awt.Insets (0, 12, 0, 0);
286
            con.insets = new java.awt.Insets (0, 12, 0, 0);
281
            con.weightx = 0.0;
287
            con.weightx = 0.0;
282
            con.weighty = 0.0;
288
            con.weighty = 0.0;
283
            uniquecheckbox = new JCheckBox(" "+bundle.getString("AddTableColumnConstraintUniqueTitle")); //NOI18N
289
            uniquecheckbox = new JCheckBox();
290
            org.openide.awt.Mnemonics.setLocalizedText(uniquecheckbox,
291
                    " "+bundle.getString("AddTableColumnConstraintUniqueTitle")); //NOI18N
284
            uniquecheckbox.setName(ColumnItem.UNIQUE);
292
            uniquecheckbox.setName(ColumnItem.UNIQUE);
285
            uniquecheckbox.addActionListener(cbxlistener);
293
            uniquecheckbox.addActionListener(cbxlistener);
286
            uniquecheckbox.setMnemonic(bundle.getString("AddTableColumnConstraintUniqueTitle_Mnemonic").charAt(0));
287
            uniquecheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnConstraintUniqueTitleA11yDesc"));
294
            uniquecheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnConstraintUniqueTitleA11yDesc"));
288
            subpane.add(uniquecheckbox, con);
295
            subpane.add(uniquecheckbox, con);
289
296
Lines 296-305 Link Here
296
            con.insets = new java.awt.Insets (0, 12, 0, 0);
303
            con.insets = new java.awt.Insets (0, 12, 0, 0);
297
            con.weightx = 0.0;
304
            con.weightx = 0.0;
298
            con.weighty = 0.0;
305
            con.weighty = 0.0;
299
            nullcheckbox = new JCheckBox(" "+bundle.getString("AddTableColumnConstraintNullTitle")); //NOI18N
306
            nullcheckbox = new JCheckBox();
307
            org.openide.awt.Mnemonics.setLocalizedText(nullcheckbox,
308
                    " "+bundle.getString("AddTableColumnConstraintNullTitle")); //NOI18N
300
            nullcheckbox.setName(ColumnItem.NULLABLE);
309
            nullcheckbox.setName(ColumnItem.NULLABLE);
301
            nullcheckbox.addActionListener(cbxlistener);
310
            nullcheckbox.addActionListener(cbxlistener);
302
            nullcheckbox.setMnemonic(bundle.getString("AddTableColumnConstraintNullTitle_Mnemonic").charAt(0));
303
            nullcheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnConstraintNullTitleA11yDesc"));
311
            nullcheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnConstraintNullTitleA11yDesc"));
304
            subpane.add(nullcheckbox, con);
312
            subpane.add(nullcheckbox, con);
305
313
Lines 346-355 Link Here
346
            con.insets = new java.awt.Insets (12, 0, 0, 0);
354
            con.insets = new java.awt.Insets (12, 0, 0, 0);
347
            con.weightx = 0.0;
355
            con.weightx = 0.0;
348
            con.weighty = 0.0;
356
            con.weighty = 0.0;
349
            ixcheckbox = new JCheckBox(" "+bundle.getString("AddTableColumnIndexName")); //NOI18N
357
            ixcheckbox = new JCheckBox();
358
            org.openide.awt.Mnemonics.setLocalizedText(ixcheckbox,
359
                    " "+bundle.getString("AddTableColumnIndexName")); //NOI18N
350
            ixcheckbox.setName(ColumnItem.INDEX);
360
            ixcheckbox.setName(ColumnItem.INDEX);
351
            ixcheckbox.addActionListener(cbxlistener);
361
            ixcheckbox.addActionListener(cbxlistener);
352
            ixcheckbox.setMnemonic(bundle.getString("AddTableColumnIndexName_Mnemonic").charAt(0));
353
            ixcheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnIndexNameA11yDesc"));
362
            ixcheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnIndexNameA11yDesc"));
354
            pane.add(ixcheckbox, con);
363
            pane.add(ixcheckbox, con);
355
364
Lines 412-421 Link Here
412
            con.insets = new java.awt.Insets (12, 0, 0, 0);
421
            con.insets = new java.awt.Insets (12, 0, 0, 0);
413
            con.weightx = 0.0;
422
            con.weightx = 0.0;
414
            con.weighty = 0.0;
423
            con.weighty = 0.0;
415
            checkcheckbox = new JCheckBox(" "+bundle.getString("AddTableColumnConstraintCheckTitle")); //NOI18N
424
            checkcheckbox = new JCheckBox();
425
            org.openide.awt.Mnemonics.setLocalizedText(checkcheckbox,
426
                    " "+bundle.getString("AddTableColumnConstraintCheckTitle")); //NOI18N
416
            checkcheckbox.setName(ColumnItem.CHECK);
427
            checkcheckbox.setName(ColumnItem.CHECK);
417
            checkcheckbox.addActionListener(cbxlistener);
428
            checkcheckbox.addActionListener(cbxlistener);
418
            checkcheckbox.setMnemonic(bundle.getString("AddTableColumnCheckTitle_Mnemonic").charAt(0));
419
            checkcheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnCheckTitleA11yDesc"));
429
            checkcheckbox.setToolTipText(bundle.getString("ACS_AddTableColumnCheckTitleA11yDesc"));
420
            pane.add(checkcheckbox, con);
430
            pane.add(checkcheckbox, con);
421
431
(-)db/src/org/netbeans/modules/db/explorer/dlg/AddViewDialog.java (-4 / +6 lines)
Lines 49-56 Link Here
49
49
50
            // Index name
50
            // Index name
51
51
52
            JLabel label = new JLabel(bundle.getString("AddViewName")); //NOI18N
52
            JLabel label = new JLabel();
53
            label.setDisplayedMnemonic(bundle.getString("AddViewName_Mnemonic").charAt(0));
53
            org.openide.awt.Mnemonics.setLocalizedText(label,
54
                    bundle.getString("AddViewName")); //NOI18N
54
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddViewNameA11yDesc"));
55
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddViewNameA11yDesc"));
55
            con.anchor = GridBagConstraints.WEST;
56
            con.anchor = GridBagConstraints.WEST;
56
            con.insets = new java.awt.Insets (2, 2, 2, 2);
57
            con.insets = new java.awt.Insets (2, 2, 2, 2);
Lines 75-82 Link Here
75
76
76
            // Items list title
77
            // Items list title
77
78
78
            label = new JLabel(bundle.getString("AddViewLabel")); //NOI18N
79
            label = new JLabel();
79
            label.setDisplayedMnemonic(bundle.getString("AddViewLabel_Mnemonic").charAt(0));
80
            org.openide.awt.Mnemonics.setLocalizedText(label,
81
                    bundle.getString("AddViewLabel")); //NOI18N
80
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddViewLabelA11yDesc"));
82
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_AddViewLabelA11yDesc"));
81
            con.weightx = 0.0;
83
            con.weightx = 0.0;
82
            con.anchor = GridBagConstraints.WEST;
84
            con.anchor = GridBagConstraints.WEST;
(-)db/src/org/netbeans/modules/db/explorer/dlg/ConnectAsPanel.java (-6 / +9 lines)
Lines 40-47 Link Here
40
40
41
            // Username field
41
            // Username field
42
42
43
            label = new JLabel(bundle.getString("ConnectDialogUserName")); //NOI18N
43
            label = new JLabel();
44
            label.setDisplayedMnemonic(bundle.getString("ConnectDialogUserName_Mnemonic").charAt(0));
44
            org.openide.awt.Mnemonics.setLocalizedText(label,
45
                    bundle.getString("ConnectDialogUserName")); //NOI18N
45
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ConnectDialogUserNameA11yDesc"));
46
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ConnectDialogUserNameA11yDesc"));
46
            con.anchor = GridBagConstraints.WEST;
47
            con.anchor = GridBagConstraints.WEST;
47
            con.weightx = 0.0;
48
            con.weightx = 0.0;
Lines 67-74 Link Here
67
68
68
            // Password field
69
            // Password field
69
70
70
            label = new JLabel(bundle.getString("ConnectDialogPassword")); //NOI18N
71
            label = new JLabel();
71
            label.setDisplayedMnemonic(bundle.getString("ConnectDialogPassword_Mnemonic").charAt(0));
72
            org.openide.awt.Mnemonics.setLocalizedText(label,
73
                    bundle.getString("ConnectDialogPassword")); //NOI18N
72
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ConnectDialogPasswordA11yDesc"));
74
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ConnectDialogPasswordA11yDesc"));
73
            con.anchor = GridBagConstraints.WEST;
75
            con.anchor = GridBagConstraints.WEST;
74
            con.weightx = 0.0;
76
            con.weightx = 0.0;
Lines 93-100 Link Here
93
95
94
            // Database system choice
96
            // Database system choice
95
97
96
            label = new JLabel(bundle.getString("Product")); //NOI18N
98
            label = new JLabel();
97
            label.setDisplayedMnemonic(bundle.getString("Product_Mnemonic").charAt(0));
99
            org.openide.awt.Mnemonics.setLocalizedText(label,
100
                    bundle.getString("Product")); //NOI18N
98
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ProductA11yDesc"));
101
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ProductA11yDesc"));
99
            con.anchor = GridBagConstraints.WEST;
102
            con.anchor = GridBagConstraints.WEST;
100
            con.weightx = 0.0;
103
            con.weightx = 0.0;
(-)db/src/org/netbeans/modules/db/explorer/dlg/ConnectPanel.java (-6 / +9 lines)
Lines 38-45 Link Here
38
38
39
            // Username field
39
            // Username field
40
40
41
            label = new JLabel(bundle.getString("ConnectDialogUserName")); //NOI18N
41
            label = new JLabel();
42
            label.setDisplayedMnemonic(bundle.getString("ConnectDialogUserName_Mnemonic").charAt(0));
42
            org.openide.awt.Mnemonics.setLocalizedText(label,
43
                    bundle.getString("ConnectDialogUserName")); //NOI18N
43
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ConnectDialogUserNameA11yDesc"));
44
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ConnectDialogUserNameA11yDesc"));
44
            con.anchor = GridBagConstraints.WEST;
45
            con.anchor = GridBagConstraints.WEST;
45
            con.weightx = 0.0;
46
            con.weightx = 0.0;
Lines 65-72 Link Here
65
66
66
            // Password field
67
            // Password field
67
68
68
            label = new JLabel(bundle.getString("ConnectDialogPassword")); //NOI18N
69
            label = new JLabel();
69
            label.setDisplayedMnemonic(bundle.getString("ConnectDialogPassword_Mnemonic").charAt(0));
70
            org.openide.awt.Mnemonics.setLocalizedText(label,
71
                    bundle.getString("ConnectDialogPassword")); //NOI18N
70
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ConnectDialogPasswordA11yDesc"));
72
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_ConnectDialogPasswordA11yDesc"));
71
            con.anchor = GridBagConstraints.WEST;
73
            con.anchor = GridBagConstraints.WEST;
72
            con.weightx = 0.0;
74
            con.weightx = 0.0;
Lines 91-98 Link Here
91
93
92
            // Remember password checkbox
94
            // Remember password checkbox
93
95
94
            rememberbox = new JCheckBox(bundle.getString("ConnectDialogRememberPassword")); //NOI18N
96
            rememberbox = new JCheckBox();
95
            rememberbox.setMnemonic(bundle.getString("ConnectDialogRememberPassword_Mnemonic").charAt(0));
97
            org.openide.awt.Mnemonics.setLocalizedText(rememberbox,
98
                    bundle.getString("ConnectDialogRememberPassword")); //NOI18N
96
            rememberbox.setToolTipText(bundle.getString("ACS_ConnectDialogRememberPasswordA11yDesc"));
99
            rememberbox.setToolTipText(bundle.getString("ACS_ConnectDialogRememberPasswordA11yDesc"));
97
            con.anchor = GridBagConstraints.WEST;
100
            con.anchor = GridBagConstraints.WEST;
98
            con.weightx = 0.0;
101
            con.weightx = 0.0;
(-)db/src/org/netbeans/modules/db/explorer/dlg/CreateTableDialog.java (-8 / +12 lines)
Lines 87-94 Link Here
87
     
87
     
88
            // Table name field
88
            // Table name field
89
89
90
            label = new JLabel(bundle.getString("CreateTableName")); // NOI18N
90
            label = new JLabel();
91
            label.setDisplayedMnemonic(bundle.getString("CreateTableName_Mnemonic").charAt(0));
91
            org.openide.awt.Mnemonics.setLocalizedText(label,
92
                    bundle.getString("CreateTableName")); // NOI18N
92
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_CreateTableNameA11yDesc"));
93
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_CreateTableNameA11yDesc"));
93
            constr.anchor = GridBagConstraints.WEST;
94
            constr.anchor = GridBagConstraints.WEST;
94
            constr.weightx = 0.0;
95
            constr.weightx = 0.0;
Lines 115-122 Link Here
115
116
116
            // Table owner combo
117
            // Table owner combo
117
118
118
            label = new JLabel(bundle.getString("CreateTableOwner")); // NOI18N
119
            label = new JLabel();
119
            label.setDisplayedMnemonic(bundle.getString("CreateTableOwner_Mnemonic").charAt(0));
120
            org.openide.awt.Mnemonics.setLocalizedText(label,
121
                    bundle.getString("CreateTableOwner")); // NOI18N
120
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_CreateTableOwnerA11yDesc"));
122
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_CreateTableOwnerA11yDesc"));
121
            constr.anchor = GridBagConstraints.WEST;
123
            constr.anchor = GridBagConstraints.WEST;
122
            constr.weightx = 0.0;
124
            constr.weightx = 0.0;
Lines 204-211 Link Here
204
206
205
            // Button add column
207
            // Button add column
206
208
207
            addbtn = new JButton(bundle.getString("CreateTableAddButtonTitle")); // NOI18N
209
            addbtn = new JButton();
208
            addbtn.setMnemonic(bundle.getString("CreateTableAddButtonTitle_Mnemonic").charAt(0));
210
            org.openide.awt.Mnemonics.setLocalizedText(addbtn,
211
                    bundle.getString("CreateTableAddButtonTitle")); // NOI18N
209
            addbtn.setToolTipText(bundle.getString("ACS_CreateTableAddButtonTitleA11yDesc"));
212
            addbtn.setToolTipText(bundle.getString("ACS_CreateTableAddButtonTitleA11yDesc"));
210
            btnpane.add(addbtn);
213
            btnpane.add(addbtn);
211
            addbtn.addActionListener(new ActionListener() {
214
            addbtn.addActionListener(new ActionListener() {
Lines 219-226 Link Here
219
222
220
            // Button delete column
223
            // Button delete column
221
224
222
            delbtn = new JButton(bundle.getString("CreateTableRemoveButtonTitle")); // NOI18N
225
            delbtn = new JButton();
223
            delbtn.setMnemonic(bundle.getString("CreateTableRemoveButtonTitle_Mnemonic").charAt(0));
226
            org.openide.awt.Mnemonics.setLocalizedText(delbtn,
227
                    bundle.getString("CreateTableRemoveButtonTitle")); // NOI18N
224
            delbtn.setToolTipText(bundle.getString("ACS_CreateTableRemoveButtonTitleA11yDesc"));
228
            delbtn.setToolTipText(bundle.getString("ACS_CreateTableRemoveButtonTitleA11yDesc"));
225
            btnpane.add(delbtn);
229
            btnpane.add(delbtn);
226
            delbtn.addActionListener(new ActionListener() {
230
            delbtn.addActionListener(new ActionListener() {
(-)db/src/org/netbeans/modules/db/explorer/dlg/LabeledTextFieldDialog.java (-8 / +9 lines)
Lines 53-61 Link Here
53
53
54
            // Title
54
            // Title
55
55
56
            label = new JLabel(lab);
56
            label = new JLabel();
57
            org.openide.awt.Mnemonics.setLocalizedText(label, lab);
57
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_RecreateTableNewNameA11yDesc"));  // NOI18N
58
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_RecreateTableNewNameA11yDesc"));  // NOI18N
58
            label.setDisplayedMnemonic(bundle.getString("RecreateTableNewName_Mnemonic").charAt(0));  // NOI18N
59
            con.anchor = GridBagConstraints.WEST;
59
            con.anchor = GridBagConstraints.WEST;
60
            con.insets = new java.awt.Insets (2, 2, 2, 2);
60
            con.insets = new java.awt.Insets (2, 2, 2, 2);
61
            con.gridx = 0;
61
            con.gridx = 0;
Lines 114-121 Link Here
114
            pane.add(spane);
114
            pane.add(spane);
115
            
115
            
116
            // edit button
116
            // edit button
117
            edButton = new JButton(bundle.getString("EditCommand")); // NOI18N
117
            edButton = new JButton();
118
            edButton.setMnemonic(bundle.getString("EditCommand_Mnemonic").charAt(0));  // NOI18N
118
            org.openide.awt.Mnemonics.setLocalizedText(edButton,
119
                    bundle.getString("EditCommand")); // NOI18N
119
            edButton.setToolTipText(bundle.getString("ACS_EditCommandA11yDesc"));  // NOI18N
120
            edButton.setToolTipText(bundle.getString("ACS_EditCommandA11yDesc"));  // NOI18N
120
            con.fill = GridBagConstraints.WEST;
121
            con.fill = GridBagConstraints.WEST;
121
            con.weighty = 0.0;
122
            con.weighty = 0.0;
Lines 129-136 Link Here
129
                public void actionPerformed(ActionEvent event) {
130
                public void actionPerformed(ActionEvent event) {
130
                    if(edButton.getText().startsWith(bundle.getString("EditCommand"))) { // NOI18N
131
                    if(edButton.getText().startsWith(bundle.getString("EditCommand"))) { // NOI18N
131
                        // set to edit 
132
                        // set to edit 
132
                        edButton.setText(bundle.getString("ReloadCommand")); // NOI18N
133
                        org.openide.awt.Mnemonics.setLocalizedText(edButton,
133
                        edButton.setMnemonic(bundle.getString("ReloadCommand_Mnemonic").charAt(0));  // NOI18N
134
                                bundle.getString("ReloadCommand")); // NOI18N
134
                        edButton.setToolTipText(bundle.getString("ACS_ReloadCommandA11yDesc"));  // NOI18N
135
                        edButton.setToolTipText(bundle.getString("ACS_ReloadCommandA11yDesc"));  // NOI18N
135
                        notesarea.setEditable( true );
136
                        notesarea.setEditable( true );
136
                        notesarea.setEnabled(true);
137
                        notesarea.setEnabled(true);
Lines 140-147 Link Here
140
                        field.setBackground(label.getBackground()); // grey
141
                        field.setBackground(label.getBackground()); // grey
141
                    } else {
142
                    } else {
142
                        // reload script from file
143
                        // reload script from file
143
                        edButton.setText(bundle.getString("EditCommand")); // NOI18N
144
                        org.openide.awt.Mnemonics.setLocalizedText(edButton,
144
                        edButton.setMnemonic(bundle.getString("EditCommand_Mnemonic").charAt(0));  // NOI18N
145
                            bundle.getString("EditCommand")); // NOI18N
145
                        edButton.setToolTipText(bundle.getString("ACS_EditCommandA11yDesc"));  // NOI18N
146
                        edButton.setToolTipText(bundle.getString("ACS_EditCommandA11yDesc"));  // NOI18N
146
                        notesarea.setText(original_notes);
147
                        notesarea.setText(original_notes);
147
                        notesarea.setEditable( false );
148
                        notesarea.setEditable( false );
(-)db/src/org/netbeans/modules/db/explorer/dlg/NewConnectionPanel.java (-12 / +18 lines)
Lines 50-57 Link Here
50
50
51
            // Driver name field
51
            // Driver name field
52
52
53
            label = new JLabel(bundle.getString("NewConnectionDriverName")); //NOI18N
53
            label = new JLabel();
54
            label.setDisplayedMnemonic(bundle.getString("NewConnectionDriverName_Mnemonic").charAt(0));
54
            org.openide.awt.Mnemonics.setLocalizedText(label,
55
                    bundle.getString("NewConnectionDriverName")); //NOI18N
55
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionDriverNameA11yDesc"));
56
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionDriverNameA11yDesc"));
56
            constr.anchor = GridBagConstraints.WEST;
57
            constr.anchor = GridBagConstraints.WEST;
57
            constr.insets = new java.awt.Insets (2, 2, 2, 2);
58
            constr.insets = new java.awt.Insets (2, 2, 2, 2);
Lines 92-99 Link Here
92
            
93
            
93
            // Driver class field
94
            // Driver class field
94
95
95
            label = new JLabel(bundle.getString("NewConnectionDriverClass")); //NOI18N
96
            label = new JLabel();
96
            label.setDisplayedMnemonic(bundle.getString("NewConnectionDriverClass_Mnemonic").charAt(0));
97
            org.openide.awt.Mnemonics.setLocalizedText(label,
98
                    bundle.getString("NewConnectionDriverClass")); //NOI18N
97
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionDriverClassA11yDesc"));
99
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionDriverClassA11yDesc"));
98
            constr.anchor = GridBagConstraints.WEST;
100
            constr.anchor = GridBagConstraints.WEST;
99
            constr.weightx = 0.0;
101
            constr.weightx = 0.0;
Lines 120-127 Link Here
120
122
121
            // Database field
123
            // Database field
122
124
123
            label = new JLabel(bundle.getString("NewConnectionDatabaseURL")); //NOI18N
125
            label = new JLabel();
124
            label.setDisplayedMnemonic(bundle.getString("NewConnectionDatabaseURL_Mnemonic").charAt(0));
126
            org.openide.awt.Mnemonics.setLocalizedText(label,
127
                    bundle.getString("NewConnectionDatabaseURL")); //NOI18N
125
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionDatabaseURLA11yDesc"));
128
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionDatabaseURLA11yDesc"));
126
            constr.anchor = GridBagConstraints.WEST;
129
            constr.anchor = GridBagConstraints.WEST;
127
            constr.weightx = 0.0;
130
            constr.weightx = 0.0;
Lines 161-168 Link Here
161
164
162
            // Username field
165
            // Username field
163
166
164
            label = new JLabel(bundle.getString("NewConnectionUserName")); //NOI18N
167
            label = new JLabel();
165
            label.setDisplayedMnemonic(bundle.getString("NewConnectionUserName_Mnemonic").charAt(0));
168
            org.openide.awt.Mnemonics.setLocalizedText(label,
169
                    bundle.getString("NewConnectionUserName")); //NOI18N
166
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionUserNameA11yDesc"));
170
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionUserNameA11yDesc"));
167
            constr.anchor = GridBagConstraints.WEST;
171
            constr.anchor = GridBagConstraints.WEST;
168
            constr.weightx = 0.0;
172
            constr.weightx = 0.0;
Lines 188-195 Link Here
188
192
189
            // Password field
193
            // Password field
190
194
191
            label = new JLabel(bundle.getString("NewConnectionPassword")); //NOI18N
195
            label = new JLabel();
192
            label.setDisplayedMnemonic(bundle.getString("NewConnectionPassword_Mnemonic").charAt(0));
196
            org.openide.awt.Mnemonics.setLocalizedText(label,
197
                    bundle.getString("NewConnectionPassword")); //NOI18N
193
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionPasswordA11yDesc"));
198
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionPasswordA11yDesc"));
194
            constr.anchor = GridBagConstraints.WEST;
199
            constr.anchor = GridBagConstraints.WEST;
195
            constr.weightx = 0.0;
200
            constr.weightx = 0.0;
Lines 214-221 Link Here
214
219
215
            // Remember password checkbox
220
            // Remember password checkbox
216
221
217
            rememberbox = new JCheckBox(bundle.getString("NewConnectionRememberPassword")); //NOI18N
222
            rememberbox = new JCheckBox();
218
            rememberbox.setMnemonic(bundle.getString("NewConnectionRememberPassword_Mnemonic").charAt(0));
223
            org.openide.awt.Mnemonics.setLocalizedText(rememberbox,
224
                    bundle.getString("NewConnectionRememberPassword")); //NOI18N
219
            rememberbox.setToolTipText(bundle.getString("ACS_NewConnectionRememberPasswordA11yDesc"));
225
            rememberbox.setToolTipText(bundle.getString("ACS_NewConnectionRememberPasswordA11yDesc"));
220
            constr.anchor = GridBagConstraints.WEST;
226
            constr.anchor = GridBagConstraints.WEST;
221
            constr.weightx = 0.0;
227
            constr.weightx = 0.0;
(-)db/src/org/netbeans/modules/db/explorer/dlg/SchemaPanel.java (-2 / +3 lines)
Lines 39-46 Link Here
39
            setLayout (layout);
39
            setLayout (layout);
40
            ResourceBundle bundle = NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle"); //NOI18N
40
            ResourceBundle bundle = NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle"); //NOI18N
41
41
42
            label = new JLabel(bundle.getString("SchemaDialogText")); //NOI18N
42
            label = new JLabel();
43
            label.setDisplayedMnemonic(bundle.getString("SchemaDialogText_Mnemonic").charAt(0));
43
            org.openide.awt.Mnemonics.setLocalizedText(label,
44
                    bundle.getString("SchemaDialogText")); //NOI18N
44
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_SchemaDialogTextA11yDesc"));
45
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_SchemaDialogTextA11yDesc"));
45
            con.gridy = 1;
46
            con.gridy = 1;
46
            con.insets = new Insets(12, 12, 0, 11);
47
            con.insets = new Insets(12, 12, 0, 11);
(-)db/src/org/netbeans/modules/db/explorer/dlg/TestDriverDialog.java (-6 / +9 lines)
Lines 77-84 Link Here
77
77
78
            // Database field
78
            // Database field
79
79
80
            label = new JLabel(bundle.getString("NewConnectionDatabaseURL")); //NOI18N
80
            label = new JLabel();
81
            label.setDisplayedMnemonic(bundle.getString("NewConnectionDatabaseURL_Mnemonic").charAt(0));
81
            org.openide.awt.Mnemonics.setLocalizedText(label,
82
                    bundle.getString("NewConnectionDatabaseURL")); //NOI18N
82
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionDatabaseURLA11yDesc"));
83
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionDatabaseURLA11yDesc"));
83
            constr.anchor = GridBagConstraints.WEST;
84
            constr.anchor = GridBagConstraints.WEST;
84
            constr.weightx = 0.0;
85
            constr.weightx = 0.0;
Lines 104-111 Link Here
104
105
105
            // Username field
106
            // Username field
106
107
107
            label = new JLabel(bundle.getString("NewConnectionUserName")); //NOI18N
108
            label = new JLabel();
108
            label.setDisplayedMnemonic(bundle.getString("NewConnectionUserName_Mnemonic").charAt(0));
109
            org.openide.awt.Mnemonics.setLocalizedText(label,
110
                    bundle.getString("NewConnectionUserName")); //NOI18N
109
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionUserNameA11yDesc"));
111
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionUserNameA11yDesc"));
110
            constr.anchor = GridBagConstraints.WEST;
112
            constr.anchor = GridBagConstraints.WEST;
111
            constr.weightx = 0.0;
113
            constr.weightx = 0.0;
Lines 131-138 Link Here
131
133
132
            // Password field
134
            // Password field
133
135
134
            label = new JLabel(bundle.getString("NewConnectionPassword")); //NOI18N
136
            label = new JLabel();
135
            label.setDisplayedMnemonic(bundle.getString("NewConnectionPassword_Mnemonic").charAt(0));
137
            org.openide.awt.Mnemonics.setLocalizedText(label,
138
                    bundle.getString("NewConnectionPassword")); //NOI18N
136
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionPasswordA11yDesc"));
139
            label.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_NewConnectionPasswordA11yDesc"));
137
            constr.anchor = GridBagConstraints.WEST;
140
            constr.anchor = GridBagConstraints.WEST;
138
            constr.weightx = 0.0;
141
            constr.weightx = 0.0;
(-)db/src/org/netbeans/modules/db/explorer/dlg/UnsupportedDatabaseDialog.form (-15 / +9 lines)
Lines 8-25 Link Here
8
    <Property name="resizable" type="boolean" value="false"/>
8
    <Property name="resizable" type="boolean" value="false"/>
9
  </Properties>
9
  </Properties>
10
  <SyntheticProperties>
10
  <SyntheticProperties>
11
    <SyntheticProperty name="formSize" 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,-56,0,0,1,44"/>
12
    <SyntheticProperty name="formPosition" type="java.awt.Point" value="-84,-19,0,5,115,114,0,14,106,97,118,97,46,97,119,116,46,80,111,105,110,116,-74,-60,-118,114,52,126,-56,38,2,0,2,73,0,1,120,73,0,1,121,120,112,0,0,0,0,0,0,0,0"/>
13
    <SyntheticProperty name="formSizePolicy" type="int" value="2"/>
11
    <SyntheticProperty name="formSizePolicy" type="int" value="2"/>
14
    <SyntheticProperty name="generatePosition" type="boolean" value="true"/>
15
    <SyntheticProperty name="generateSize" type="boolean" value="true"/>
16
    <SyntheticProperty name="generateCenter" type="boolean" value="true"/>
17
    <SyntheticProperty 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,44,0,0,1,-112"/>
18
  </SyntheticProperties>
12
  </SyntheticProperties>
19
20
  <Events>
13
  <Events>
21
    <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="closeDialog"/>
14
    <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="closeDialog"/>
22
  </Events>
15
  </Events>
16
  <AuxValues>
17
    <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,44,0,0,1,-112"/>
18
  </AuxValues>
23
19
24
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
20
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
25
  <SubComponents>
21
  <SubComponents>
Lines 39-53 Link Here
39
      <SubComponents>
35
      <SubComponents>
40
        <Component class="javax.swing.JTextArea" name="jTextArea1">
36
        <Component class="javax.swing.JTextArea" name="jTextArea1">
41
          <Properties>
37
          <Properties>
42
            <Property name="wrapStyleWord" type="boolean" value="true"/>
43
            <Property name="lineWrap" type="boolean" value="true"/>
44
            <Property name="editable" type="boolean" value="false"/>
38
            <Property name="editable" type="boolean" value="false"/>
45
            <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
39
            <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
46
              <Connection code="javax.swing.UIManager.getFont(&quot;Label.font&quot;)" type="code"/>
40
              <Connection code="javax.swing.UIManager.getFont(&quot;Label.font&quot;)" type="code"/>
47
            </Property>
41
            </Property>
42
            <Property name="lineWrap" type="boolean" value="true"/>
48
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
43
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
49
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogDescription" replaceFormat="org.openide.util.NbBundle.getBundle(&quot;org.netbeans.modules.db.resources.Bundle&quot;).getString(&quot;{key}&quot;)"/>
44
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogDescription" replaceFormat="org.openide.util.NbBundle.getBundle(&quot;org.netbeans.modules.db.resources.Bundle&quot;).getString(&quot;{key}&quot;)"/>
50
            </Property>
45
            </Property>
46
            <Property name="wrapStyleWord" type="boolean" value="true"/>
51
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
47
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
52
              <Connection code="javax.swing.UIManager.getColor(&quot;Label.foreground&quot;)" type="code"/>
48
              <Connection code="javax.swing.UIManager.getColor(&quot;Label.foreground&quot;)" type="code"/>
53
            </Property>
49
            </Property>
Lines 74-88 Link Here
74
        </Component>
70
        </Component>
75
        <Component class="javax.swing.JTextArea" name="jTextArea2">
71
        <Component class="javax.swing.JTextArea" name="jTextArea2">
76
          <Properties>
72
          <Properties>
77
            <Property name="wrapStyleWord" type="boolean" value="true"/>
78
            <Property name="lineWrap" type="boolean" value="true"/>
79
            <Property name="editable" type="boolean" value="false"/>
73
            <Property name="editable" type="boolean" value="false"/>
80
            <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
74
            <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
81
              <Connection code="javax.swing.UIManager.getFont(&quot;Label.font&quot;)" type="code"/>
75
              <Connection code="javax.swing.UIManager.getFont(&quot;Label.font&quot;)" type="code"/>
82
            </Property>
76
            </Property>
77
            <Property name="lineWrap" type="boolean" value="true"/>
83
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
78
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
84
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogGenericText" replaceFormat="org.openide.util.NbBundle.getBundle(&quot;org.netbeans.modules.db.resources.Bundle&quot;).getString(&quot;{key}&quot;)"/>
79
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogGenericText" replaceFormat="org.openide.util.NbBundle.getBundle(&quot;org.netbeans.modules.db.resources.Bundle&quot;).getString(&quot;{key}&quot;)"/>
85
            </Property>
80
            </Property>
81
            <Property name="wrapStyleWord" type="boolean" value="true"/>
86
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
82
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
87
              <Connection code="javax.swing.UIManager.getColor(&quot;Label.foreground&quot;)" type="code"/>
83
              <Connection code="javax.swing.UIManager.getColor(&quot;Label.foreground&quot;)" type="code"/>
88
            </Property>
84
            </Property>
Lines 112-126 Link Here
112
        </Component>
108
        </Component>
113
        <Component class="javax.swing.JTextArea" name="jTextArea3">
109
        <Component class="javax.swing.JTextArea" name="jTextArea3">
114
          <Properties>
110
          <Properties>
115
            <Property name="wrapStyleWord" type="boolean" value="true"/>
116
            <Property name="lineWrap" type="boolean" value="true"/>
117
            <Property name="editable" type="boolean" value="false"/>
111
            <Property name="editable" type="boolean" value="false"/>
118
            <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
112
            <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
119
              <Connection code="javax.swing.UIManager.getFont(&quot;Label.font&quot;)" type="code"/>
113
              <Connection code="javax.swing.UIManager.getFont(&quot;Label.font&quot;)" type="code"/>
120
            </Property>
114
            </Property>
115
            <Property name="lineWrap" type="boolean" value="true"/>
121
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
116
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
122
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogReadOnlyText" replaceFormat="org.openide.util.NbBundle.getBundle(&quot;org.netbeans.modules.db.resources.Bundle&quot;).getString(&quot;{key}&quot;)"/>
117
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogReadOnlyText" replaceFormat="org.openide.util.NbBundle.getBundle(&quot;org.netbeans.modules.db.resources.Bundle&quot;).getString(&quot;{key}&quot;)"/>
123
            </Property>
118
            </Property>
119
            <Property name="wrapStyleWord" type="boolean" value="true"/>
124
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
120
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
125
              <Connection code="javax.swing.UIManager.getColor(&quot;Label.foreground&quot;)" type="code"/>
121
              <Connection code="javax.swing.UIManager.getColor(&quot;Label.foreground&quot;)" type="code"/>
126
            </Property>
122
            </Property>
Lines 161-167 Link Here
161
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogButtonOK" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
157
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogButtonOK" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
162
            </Property>
158
            </Property>
163
          </Properties>
159
          </Properties>
164
165
          <Events>
160
          <Events>
166
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="okButtonActionPerformed"/>
161
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="okButtonActionPerformed"/>
167
          </Events>
162
          </Events>
Lines 172-178 Link Here
172
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogButtonCancel" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
167
              <ResourceString bundle="org/netbeans/modules/db/resources/Bundle.properties" key="UnsupportedDialogButtonCancel" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
173
            </Property>
168
            </Property>
174
          </Properties>
169
          </Properties>
175
176
          <Events>
170
          <Events>
177
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cancelButtonActionPerformed"/>
171
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cancelButtonActionPerformed"/>
178
          </Events>
172
          </Events>
(-)db/src/org/netbeans/modules/db/explorer/dlg/UnsupportedDatabaseDialog.java (-27 / +23 lines)
Lines 47-63 Link Here
47
    {
47
    {
48
        jTextArea1.getAccessibleContext().setAccessibleName(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogDescriptionA11yName"));
48
        jTextArea1.getAccessibleContext().setAccessibleName(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogDescriptionA11yName"));
49
        jTextArea1.getAccessibleContext().setAccessibleDescription(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogDescriptionA11yDesc"));
49
        jTextArea1.getAccessibleContext().setAccessibleDescription(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogDescriptionA11yDesc"));
50
        genericButton.setMnemonic(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogGenericButton_Mnemonic").charAt(0));
51
        genericButton.setToolTipText(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogGenericButtonA11yDesc"));
50
        genericButton.setToolTipText(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogGenericButtonA11yDesc"));
52
        jTextArea2.getAccessibleContext().setAccessibleName(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogGenericTextA11yName"));
51
        jTextArea2.getAccessibleContext().setAccessibleName(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogGenericTextA11yName"));
53
        jTextArea2.getAccessibleContext().setAccessibleDescription(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogGenericTextA11yDesc"));
52
        jTextArea2.getAccessibleContext().setAccessibleDescription(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogGenericTextA11yDesc"));
54
        readonlyButton.setMnemonic(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogReadOnlyButton_Mnemonic").charAt(0));
55
        readonlyButton.setToolTipText(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogReadOnlyButtonA11yDesc"));
53
        readonlyButton.setToolTipText(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogReadOnlyButtonA11yDesc"));
56
        jTextArea3.getAccessibleContext().setAccessibleName(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogReadOnlyTextA11yName"));
54
        jTextArea3.getAccessibleContext().setAccessibleName(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogReadOnlyTextA11yName"));
57
        jTextArea3.getAccessibleContext().setAccessibleDescription(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogReadOnlyTextA11yDesc"));
55
        jTextArea3.getAccessibleContext().setAccessibleDescription(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogReadOnlyTextA11yDesc"));
58
        okButton.setMnemonic(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogButtonOK_Mnemonic").charAt(0));
59
        okButton.setToolTipText(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogButtonOKA11yDesc"));
56
        okButton.setToolTipText(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogButtonOKA11yDesc"));
60
        cancelButton.setMnemonic(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogButtonCancel_Mnemonic").charAt(0));
61
        cancelButton.setToolTipText(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogButtonCancelA11yDesc"));
57
        cancelButton.setToolTipText(NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("ACS_UnsupportedDialogButtonCancelA11yDesc"));
62
    }
58
    }
63
59
Lines 91-122 Link Here
91
        jPanel1.setLayout(new java.awt.GridBagLayout());
87
        jPanel1.setLayout(new java.awt.GridBagLayout());
92
88
93
        jPanel1.setPreferredSize(new java.awt.Dimension(350, 200));
89
        jPanel1.setPreferredSize(new java.awt.Dimension(350, 200));
94
        jTextArea1.setWrapStyleWord(true);
95
        jTextArea1.setLineWrap(true);
96
        jTextArea1.setEditable(false);
90
        jTextArea1.setEditable(false);
97
        jTextArea1.setFont(javax.swing.UIManager.getFont("Label.font"));
91
        jTextArea1.setFont(javax.swing.UIManager.getFont("Label.font"));
92
        jTextArea1.setLineWrap(true);
98
        jTextArea1.setText(org.openide.util.NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogDescription"));
93
        jTextArea1.setText(org.openide.util.NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogDescription"));
94
        jTextArea1.setWrapStyleWord(true);
99
        jTextArea1.setDisabledTextColor(javax.swing.UIManager.getColor("Label.foreground"));
95
        jTextArea1.setDisabledTextColor(javax.swing.UIManager.getColor("Label.foreground"));
100
        jTextArea1.setEnabled(false);
96
        jTextArea1.setEnabled(false);
101
        jTextArea1.setOpaque(false);
97
        jTextArea1.setOpaque(false);
102
        gridBagConstraints = new java.awt.GridBagConstraints();
98
        gridBagConstraints = new java.awt.GridBagConstraints();
103
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
99
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
104
        gridBagConstraints.insets = new java.awt.Insets(10, 10, 0, 10);
105
        gridBagConstraints.weightx = 1.0;
100
        gridBagConstraints.weightx = 1.0;
101
        gridBagConstraints.insets = new java.awt.Insets(10, 10, 0, 10);
106
        jPanel1.add(jTextArea1, gridBagConstraints);
102
        jPanel1.add(jTextArea1, gridBagConstraints);
107
103
108
        genericButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("UnsupportedDialogGenericButton"));
104
        org.openide.awt.Mnemonics.setLocalizedText(genericButton,java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("UnsupportedDialogGenericButton"));
109
        gridBagConstraints = new java.awt.GridBagConstraints();
105
        gridBagConstraints = new java.awt.GridBagConstraints();
110
        gridBagConstraints.gridy = 1;
106
        gridBagConstraints.gridy = 1;
111
        gridBagConstraints.insets = new java.awt.Insets(15, 10, 0, 10);
112
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
107
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
108
        gridBagConstraints.insets = new java.awt.Insets(15, 10, 0, 10);
113
        jPanel1.add(genericButton, gridBagConstraints);
109
        jPanel1.add(genericButton, gridBagConstraints);
114
110
115
        jTextArea2.setWrapStyleWord(true);
116
        jTextArea2.setLineWrap(true);
117
        jTextArea2.setEditable(false);
111
        jTextArea2.setEditable(false);
118
        jTextArea2.setFont(javax.swing.UIManager.getFont("Label.font"));
112
        jTextArea2.setFont(javax.swing.UIManager.getFont("Label.font"));
113
        jTextArea2.setLineWrap(true);
119
        jTextArea2.setText(org.openide.util.NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogGenericText"));
114
        jTextArea2.setText(org.openide.util.NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogGenericText"));
115
        jTextArea2.setWrapStyleWord(true);
120
        jTextArea2.setDisabledTextColor(javax.swing.UIManager.getColor("Label.foreground"));
116
        jTextArea2.setDisabledTextColor(javax.swing.UIManager.getColor("Label.foreground"));
121
        jTextArea2.setEnabled(false);
117
        jTextArea2.setEnabled(false);
122
        jTextArea2.setOpaque(false);
118
        jTextArea2.setOpaque(false);
Lines 124-146 Link Here
124
        gridBagConstraints.gridx = 0;
120
        gridBagConstraints.gridx = 0;
125
        gridBagConstraints.gridy = 2;
121
        gridBagConstraints.gridy = 2;
126
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
122
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
127
        gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
128
        gridBagConstraints.weightx = 1.0;
123
        gridBagConstraints.weightx = 1.0;
124
        gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
129
        jPanel1.add(jTextArea2, gridBagConstraints);
125
        jPanel1.add(jTextArea2, gridBagConstraints);
130
126
131
        readonlyButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("UnsupportedDialogReadOnlyButton"));
127
        org.openide.awt.Mnemonics.setLocalizedText(readonlyButton,java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("UnsupportedDialogReadOnlyButton"));
132
        readonlyButton.setActionCommand(java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("ReadOnlyMode"));
128
        readonlyButton.setActionCommand(java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("ReadOnlyMode"));
133
        gridBagConstraints = new java.awt.GridBagConstraints();
129
        gridBagConstraints = new java.awt.GridBagConstraints();
134
        gridBagConstraints.gridy = 3;
130
        gridBagConstraints.gridy = 3;
135
        gridBagConstraints.insets = new java.awt.Insets(10, 10, 0, 10);
136
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
131
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
132
        gridBagConstraints.insets = new java.awt.Insets(10, 10, 0, 10);
137
        jPanel1.add(readonlyButton, gridBagConstraints);
133
        jPanel1.add(readonlyButton, gridBagConstraints);
138
134
139
        jTextArea3.setWrapStyleWord(true);
140
        jTextArea3.setLineWrap(true);
141
        jTextArea3.setEditable(false);
135
        jTextArea3.setEditable(false);
142
        jTextArea3.setFont(javax.swing.UIManager.getFont("Label.font"));
136
        jTextArea3.setFont(javax.swing.UIManager.getFont("Label.font"));
137
        jTextArea3.setLineWrap(true);
143
        jTextArea3.setText(org.openide.util.NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogReadOnlyText"));
138
        jTextArea3.setText(org.openide.util.NbBundle.getBundle("org.netbeans.modules.db.resources.Bundle").getString("UnsupportedDialogReadOnlyText"));
139
        jTextArea3.setWrapStyleWord(true);
144
        jTextArea3.setDisabledTextColor(javax.swing.UIManager.getColor("Label.foreground"));
140
        jTextArea3.setDisabledTextColor(javax.swing.UIManager.getColor("Label.foreground"));
145
        jTextArea3.setEnabled(false);
141
        jTextArea3.setEnabled(false);
146
        jTextArea3.setOpaque(false);
142
        jTextArea3.setOpaque(false);
Lines 148-171 Link Here
148
        gridBagConstraints.gridx = 0;
144
        gridBagConstraints.gridx = 0;
149
        gridBagConstraints.gridy = 4;
145
        gridBagConstraints.gridy = 4;
150
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
146
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
151
        gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
152
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
147
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
153
        gridBagConstraints.weightx = 1.0;
148
        gridBagConstraints.weightx = 1.0;
149
        gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
154
        jPanel1.add(jTextArea3, gridBagConstraints);
150
        jPanel1.add(jTextArea3, gridBagConstraints);
155
151
156
        gridBagConstraints = new java.awt.GridBagConstraints();
152
        gridBagConstraints = new java.awt.GridBagConstraints();
157
        gridBagConstraints.gridy = 5;
153
        gridBagConstraints.gridy = 5;
158
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
154
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
159
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 5, 10);
160
        gridBagConstraints.weightx = 1.0;
155
        gridBagConstraints.weightx = 1.0;
161
        gridBagConstraints.weighty = 1.0;
156
        gridBagConstraints.weighty = 1.0;
157
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 5, 10);
162
        jPanel1.add(jPanel2, gridBagConstraints);
158
        jPanel1.add(jPanel2, gridBagConstraints);
163
159
164
        getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
160
        getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
165
161
166
        buttonPanel.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT));
162
        buttonPanel.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT));
167
163
168
        okButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("UnsupportedDialogButtonOK"));
164
        org.openide.awt.Mnemonics.setLocalizedText(okButton,java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("UnsupportedDialogButtonOK"));
169
        okButton.addActionListener(new java.awt.event.ActionListener() {
165
        okButton.addActionListener(new java.awt.event.ActionListener() {
170
            public void actionPerformed(java.awt.event.ActionEvent evt) {
166
            public void actionPerformed(java.awt.event.ActionEvent evt) {
171
                okButtonActionPerformed(evt);
167
                okButtonActionPerformed(evt);
Lines 174-180 Link Here
174
170
175
        buttonPanel.add(okButton);
171
        buttonPanel.add(okButton);
176
172
177
        cancelButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("UnsupportedDialogButtonCancel"));
173
        org.openide.awt.Mnemonics.setLocalizedText(cancelButton,java.util.ResourceBundle.getBundle("org/netbeans/modules/db/resources/Bundle").getString("UnsupportedDialogButtonCancel"));
178
        cancelButton.addActionListener(new java.awt.event.ActionListener() {
174
        cancelButton.addActionListener(new java.awt.event.ActionListener() {
179
            public void actionPerformed(java.awt.event.ActionEvent evt) {
175
            public void actionPerformed(java.awt.event.ActionEvent evt) {
180
                cancelButtonActionPerformed(evt);
176
                cancelButtonActionPerformed(evt);
Lines 218-235 Link Here
218
        return READONLY;
214
        return READONLY;
219
    }
215
    }
220
216
221
    // Variables declaration - do not modify//GEN-BEGIN:variables
217
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
222
    private javax.swing.JPanel buttonPanel;
218
    private javax.swing.JTextArea jTextArea2;
219
    private javax.swing.JTextArea jTextArea3;
220
    private javax.swing.JPanel jPanel2;
223
    private javax.swing.JButton okButton;
221
    private javax.swing.JButton okButton;
224
    private javax.swing.JButton cancelButton;
222
    private javax.swing.JButton cancelButton;
223
    private javax.swing.JTextArea jTextArea1;
225
    private javax.swing.JRadioButton readonlyButton;
224
    private javax.swing.JRadioButton readonlyButton;
226
    private javax.swing.JRadioButton genericButton;
225
    private javax.swing.JRadioButton genericButton;
227
    private javax.swing.JTextArea jTextArea3;
228
    private javax.swing.JTextArea jTextArea2;
229
    private javax.swing.JPanel jPanel2;
230
    private javax.swing.JTextArea jTextArea1;
231
    private javax.swing.JPanel jPanel1;
226
    private javax.swing.JPanel jPanel1;
232
    // End of variables declaration//GEN-END:variables
227
    private javax.swing.JPanel buttonPanel;
228
    // ????? ?????????? ??????????//GEN-END:variables
233
229
234
    private boolean returnStatus = RET_CANCEL;
230
    private boolean returnStatus = RET_CANCEL;
235
231
(-)db/src/org/netbeans/modules/db/resources/Bundle.properties (-80 / +40 lines)
Lines 119-126 Link Here
119
PositionDescription = Position
119
PositionDescription = Position
120
Index = Index
120
Index = Index
121
IndexDescription = Index
121
IndexDescription = Index
122
Unique = Unique
122
Unique = &Unique
123
Unique_Mnemonic = U
124
UniqueDescription = Unique
123
UniqueDescription = Unique
125
Qualifier = Qualifier
124
Qualifier = Qualifier
126
QualifierDescription = Qualifier
125
QualifierDescription = Qualifier
Lines 292-303 Link Here
292
# Add driver dialog
291
# Add driver dialog
293
292
294
AddDriverDialogTitle = Add JDBC Driver
293
AddDriverDialogTitle = Add JDBC Driver
295
AddDriverDriverName = Name:
294
AddDriverDriverName = &Name:
296
AddDriverDriverName_Mnemonic = N
295
AddDriverDriverURL = &Driver:
297
AddDriverDriverURL = Driver:
296
AddDriverDatabasePrefix = Database &URL prefix:
298
AddDriverDriverURL_Mnemonic = D
299
AddDriverDatabasePrefix = Database URL prefix:
300
AddDriverDatabasePrefix_Mnemonic = U
301
AddDriverURLNotes = Note: the package (ZIP/JAR, typically) containing the driver code must be in the NetBeans classpath (add to the lib/ext/ directory).
297
AddDriverURLNotes = Note: the package (ZIP/JAR, typically) containing the driver code must be in the NetBeans classpath (add to the lib/ext/ directory).
302
AddDriverErrorMessage = Insufficient information to add new driver. Please check that the driver name and driver class are entered correctly.
298
AddDriverErrorMessage = Insufficient information to add new driver. Please check that the driver name and driver class are entered correctly.
303
299
Lines 354-371 Link Here
354
# NewConnection dialog
350
# NewConnection dialog
355
351
356
NewConnectionDialogTitle = New Database Connection
352
NewConnectionDialogTitle = New Database Connection
357
NewConnectionDriverName = Name:
353
NewConnectionDriverName = &Name:
358
NewConnectionDriverName_Mnemonic = N
354
NewConnectionDriverClass = &Driver:
359
NewConnectionDriverClass = Driver:
355
NewConnectionDatabaseURL = D&atabase URL:
360
NewConnectionDriverClass_Mnemonic = D
356
NewConnectionUserName = &User Name:
361
NewConnectionDatabaseURL = Database URL:
357
NewConnectionPassword = &Password:
362
NewConnectionDatabaseURL_Mnemonic = A
358
NewConnectionRememberPassword = &Remember password during this session
363
NewConnectionUserName = User Name:
364
NewConnectionUserName_Mnemonic = U
365
NewConnectionPassword = Password:
366
NewConnectionPassword_Mnemonic = P
367
NewConnectionRememberPassword = Remember password during this session
368
NewConnectionRememberPassword_Mnemonic = R
369
359
370
ACS_NewConnectionDriverNameA11yDesc = Connection name.
360
ACS_NewConnectionDriverNameA11yDesc = Connection name.
371
ACS_NewConnectionDriverNameComboBoxA11yName = Connection name combo box
361
ACS_NewConnectionDriverNameComboBoxA11yName = Connection name combo box
Lines 386-401 Link Here
386
376
387
# Create table dialog
377
# Create table dialog
388
378
389
CreateTableName = Table name:
379
CreateTableName = &Table name:
390
CreateTableName_Mnemonic = T
391
CreateTableUntitledName = Untitled
380
CreateTableUntitledName = Untitled
392
CreateTableOwner = Owner:
381
CreateTableOwner = &Owner:
393
CreateTableOwner_Mnemonic = O
394
CreateTableColumns = Columns
382
CreateTableColumns = Columns
395
CreateTableAddButtonTitle = Add column
383
CreateTableAddButtonTitle = &Add column
396
CreateTableAddButtonTitle_Mnemonic = A
384
CreateTableRemoveButtonTitle = &Remove
397
CreateTableRemoveButtonTitle = Remove
398
CreateTableRemoveButtonTitle_Mnemonic = R
399
CreateTableDialogTitle = Create Table
385
CreateTableDialogTitle = Create Table
400
386
401
ACS_CreateTableNameA11yDesc = Table name.
387
ACS_CreateTableNameA11yDesc = Table name.
Lines 431-459 Link Here
431
# Add table column dialog
417
# Add table column dialog
432
418
433
AddColumnDialogTitle = Add Column
419
AddColumnDialogTitle = Add Column
434
AddTableColumnName = Name:
420
AddTableColumnName = &Name:
435
AddTableColumnName_Mnemonic = N
421
AddTableColumnType = &Type:
436
AddTableColumnType = Type:
422
AddTableColumnSize = &Size:
437
AddTableColumnType_Mnemonic = T
423
AddTableColumnScale = Sc&ale:
438
AddTableColumnSize = Size:
424
AddTableColumnDefault = &Default:
439
AddTableColumnSize_Mnemonic = S
440
AddTableColumnScale = Scale:
441
AddTableColumnScale_Mnemonic = A
442
AddTableColumnDefault = Default:
443
AddTableColumnDefault_Mnemonic = D
444
AddTableColumnConstraintsTitle = Constraints
425
AddTableColumnConstraintsTitle = Constraints
445
AddTableColumnConstraintPKTitle = Primary key
426
AddTableColumnConstraintPKTitle = &Primary key
446
AddTableColumnConstraintPKTitle_Mnemonic = P
447
AddTableColumnConstraintIXTitle = Index
427
AddTableColumnConstraintIXTitle = Index
448
AddTableColumnConstraintUniqueTitle = Unique
428
AddTableColumnConstraintUniqueTitle = &Unique
449
AddTableColumnConstraintUniqueTitle_Mnemonic = U
429
AddTableColumnConstraintNullTitle = Nu&ll
450
AddTableColumnConstraintNullTitle = Null
451
AddTableColumnConstraintNullTitle_Mnemonic = L
452
AddTableColumnConstraintCheckTitle = Check:
430
AddTableColumnConstraintCheckTitle = Check:
453
AddTableColumnIndexName = Index:
431
AddTableColumnIndexName = &Index:
454
AddTableColumnIndexName_Mnemonic = I
432
AddTableColumnCheckTitle = &Check:
455
AddTableColumnCheckTitle = Check:
456
AddTableColumnCheckTitle_Mnemonic = C
457
433
458
ACS_AddTableColumnNameA11yDesc = Column name.
434
ACS_AddTableColumnNameA11yDesc = Column name.
459
ACS_AddTableColumnNameTextFieldA11yName = Column name text field
435
ACS_AddTableColumnNameTextFieldA11yName = Column name text field
Lines 503-510 Link Here
503
# Add index dialog
479
# Add index dialog
504
480
505
AddIndexTitle = Add Index
481
AddIndexTitle = Add Index
506
AddIndexName = Index name:
482
AddIndexName = &Index name:
507
AddIndexName_Mnemonic = I
508
AddIndexLabel = Select the items you want to add to the index:
483
AddIndexLabel = Select the items you want to add to the index:
509
484
510
ACS_AddIndexDialogA11yName=Add Index Dialog
485
ACS_AddIndexDialogA11yName=Add Index Dialog
Lines 522-531 Link Here
522
# Add view dialog
497
# Add view dialog
523
498
524
AddViewTitle = Add View
499
AddViewTitle = Add View
525
AddViewName = View name:
500
AddViewName = &View name:
526
AddViewName_Mnemonic = V
501
AddViewLabel = &SQL expression to create view:
527
AddViewLabel = SQL expression to create view:
528
AddViewLabel_Mnemonic = S
529
MSG_ViewsAreNotSupported = {0} does not support views.
502
MSG_ViewsAreNotSupported = {0} does not support views.
530
503
531
ACS_AddViewNameA11yDesc = Name of the view.
504
ACS_AddViewNameA11yDesc = Name of the view.
Lines 542-554 Link Here
542
515
543
RecreateTableFileOpenDialogTitle = Recreate Table
516
RecreateTableFileOpenDialogTitle = Recreate Table
544
RecreateTableRenameTable = Name the table
517
RecreateTableRenameTable = Name the table
545
RecreateTableNewName = Name:
518
RecreateTableNewName = &Name:
546
RecreateTableNewName_Mnemonic = N
547
RecreateTableRenameNotes = Create table script:
519
RecreateTableRenameNotes = Create table script:
548
EditCommand=Edit table script
520
EditCommand=&Edit table script
549
EditCommand_Mnemonic=E
521
ReloadCommand=&Reload table script from file
550
ReloadCommand=Reload table script from file
551
ReloadCommand_Mnemonic=R
552
522
553
ACS_RecreateTableNewNameA11yDesc = Table name.
523
ACS_RecreateTableNewNameA11yDesc = Table name.
554
ACS_RecreateTableNewNameTextFieldA11yName = Table Name
524
ACS_RecreateTableNewNameTextFieldA11yName = Table Name
Lines 571-578 Link Here
571
DataViewNextFetchButton = Yes
541
DataViewNextFetchButton = Yes
572
DataViewAllFetchButton = Fetch all
542
DataViewAllFetchButton = Fetch all
573
DataViewFetchErrorPrefix = Unable to execute query,
543
DataViewFetchErrorPrefix = Unable to execute query,
574
ExecuteButton = Execute
544
ExecuteButton = &Execute
575
ExecuteButton_Mnemonic = E
576
FetchDataTitle = Fetch Data
545
FetchDataTitle = Fetch Data
577
ShowDataError = Unable to show data, {0}
546
ShowDataError = Unable to show data, {0}
578
547
Lines 596-611 Link Here
596
565
597
UnsupportedDialogTitle = Database is not supported by the system
566
UnsupportedDialogTitle = Database is not supported by the system
598
UnsupportedDialogDescription = This database is not supported by the system. The following options are available:
567
UnsupportedDialogDescription = This database is not supported by the system. The following options are available:
599
UnsupportedDialogGenericButton = Connect as generic database system
568
UnsupportedDialogGenericButton = Co&nnect as generic database system
600
UnsupportedDialogGenericButton_Mnemonic = N
601
UnsupportedDialogGenericText = Connect to the database and use SQL-92 standard commands (not supported by all databases).
569
UnsupportedDialogGenericText = Connect to the database and use SQL-92 standard commands (not supported by all databases).
602
UnsupportedDialogReadOnlyButton = Connect in read-only mode
570
UnsupportedDialogReadOnlyButton = Connect in &read-only mode
603
UnsupportedDialogReadOnlyButton_Mnemonic = R
604
UnsupportedDialogReadOnlyText = Connect without the ability to modify the database.
571
UnsupportedDialogReadOnlyText = Connect without the ability to modify the database.
605
UnsupportedDialogButtonOK = OK
572
UnsupportedDialogButtonOK = &OK
606
UnsupportedDialogButtonOK_Mnemonic = O
573
UnsupportedDialogButtonCancel = &Cancel
607
UnsupportedDialogButtonCancel = Cancel
608
UnsupportedDialogButtonCancel_Mnemonic = C
609
ReadOnlyMode = Read Only Mode
574
ReadOnlyMode = Read Only Mode
610
575
611
ACS_UnsupportedDialogDescriptionA11yName = Unsupported database description
576
ACS_UnsupportedDialogDescriptionA11yName = Unsupported database description
Lines 755-768 Link Here
755
BasePanelHint = Basic set of arguments to create database connection
720
BasePanelHint = Basic set of arguments to create database connection
756
ExtendPanelHint = Selection of database schema to use in the connection
721
ExtendPanelHint = Selection of database schema to use in the connection
757
ConnectDialogTitle = Connect
722
ConnectDialogTitle = Connect
758
ConnectDialogUserName = User name:
723
ConnectDialogUserName = &User name:
759
ConnectDialogUserName_Mnemonic = U
724
ConnectDialogPassword = &Password:
760
ConnectDialogPassword = Password:
725
ConnectDialogRememberPassword = &Remember password during this session
761
ConnectDialogPassword_Mnemonic = P
726
Product = Pr&oduct
762
ConnectDialogRememberPassword = Remember password during this session
763
ConnectDialogRememberPassword_Mnemonic = R
764
Product = Product
765
Product_Mnemonic = O
766
727
767
ACS_ConnectDialogUserNameA11yDesc = Database user name.
728
ACS_ConnectDialogUserNameA11yDesc = Database user name.
768
ACS_ConnectDialogUserNameTextFieldA11yName = Database user name text field
729
ACS_ConnectDialogUserNameTextFieldA11yName = Database user name text field
Lines 776-783 Link Here
776
ACS_ProductComboBoxA11yDesc = Combo box containing all product names.
737
ACS_ProductComboBoxA11yDesc = Combo box containing all product names.
777
738
778
# SchemaPanel
739
# SchemaPanel
779
SchemaDialogText=Select schema:
740
SchemaDialogText=&Select schema:
780
SchemaDialogText_Mnemonic=S
781
MSG_SchemaPanelComment=Select a database schema to use.
741
MSG_SchemaPanelComment=Select a database schema to use.
782
MSG_SchemaPanelWarning=There is no schema with same name as user name. You need to choose one of the schemas. \n\
742
MSG_SchemaPanelWarning=There is no schema with same name as user name. You need to choose one of the schemas. \n\
783
    Select a database schema to use.
743
    Select a database schema to use.

Return to bug 31390