bugfix#49999 - fixed minor a11y issue. Set close buttonwith mnemonic for customizer .
1.1 --- a/vcs.profiles.cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/BundleGlobal.properties Tue Oct 12 15:50:34 2004 +0000
1.2 +++ b/vcs.profiles.cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/BundleGlobal.properties Tue Oct 12 17:54:46 2004 +0000
1.3 @@ -107,7 +107,7 @@
1.4 ACSD_VAR_BuiltIn_true=Use the built-in CVS client, no external CVS executable is necessary.
1.5 VAR_BuiltIn_false=Use Command-Line CVS Client
1.6 ACSD_VAR_BuiltIn_false=Use the command-line CVS client, you need to have an external CVS executable.
1.7 -VAR_BuiltIn_false_Mnemonic=C
1.8 +VAR_BuiltIn_false_Mnemonic=I
1.9 VAR_EXE=CVS Executable
1.10 VAR_EXE_Mnemonic=A
1.11 ACSD_VAR_EXE=The cvs executable
2.1 --- a/vcs.profiles.vss/src/org/netbeans/modules/vcs/profiles/vss/config/Bundle.properties Tue Oct 12 15:50:34 2004 +0000
2.2 +++ b/vcs.profiles.vss/src/org/netbeans/modules/vcs/profiles/vss/config/Bundle.properties Tue Oct 12 17:54:46 2004 +0000
2.3 @@ -208,7 +208,7 @@
2.4 ACS_COMMAND_VSS_GGET_SSDIR_mnc=D
2.5 COMMAND_VSS_GGET_PROJECT=Project:
2.6 ACS_COMMAND_VSS_GGET_PROJECT_mnc=O
2.7 -ACS_COMMAND_VSS_GGET_EXE_mnc=C
2.8 +ACS_COMMAND_VSS_GGET_EXE_mnc=V
2.9 VSS_GGET_Command=VSS Command:
2.10 VSS_GGET_UserName=User Name:
2.11
3.1 --- a/vcscore/src/org/netbeans/modules/vcscore/ui/fsmanager/Bundle.properties Tue Oct 12 15:50:34 2004 +0000
3.2 +++ b/vcscore/src/org/netbeans/modules/vcscore/ui/fsmanager/Bundle.properties Tue Oct 12 17:54:46 2004 +0000
3.3 @@ -75,3 +75,5 @@
3.4 ACSD_explArea=Area explainig purpose of Versioning Manager
3.5
3.6 LBL_VcsManagerClose=Close
3.7 +
3.8 +LBL_VcsManagerClose_mnc=C
4.1 --- a/vcscore/src/org/netbeans/modules/vcscore/ui/fsmanager/VcsManager.java Tue Oct 12 15:50:34 2004 +0000
4.2 +++ b/vcscore/src/org/netbeans/modules/vcscore/ui/fsmanager/VcsManager.java Tue Oct 12 17:54:46 2004 +0000
4.3 @@ -366,7 +366,9 @@
4.4 } else {
4.5 DialogDescriptor dd = new DialogDescriptor(cust,
4.6 NbBundle.getMessage(VcsManager.class, "LAB_FS_Customizer"));
4.7 - Object[] options = new Object[]{ NbBundle.getMessage(VcsManager.class, "LBL_VcsManagerClose") };
4.8 + javax.swing.JButton close = new javax.swing.JButton(NbBundle.getMessage(VcsManager.class, "LBL_VcsManagerClose"));
4.9 + close.setMnemonic(NbBundle.getMessage(VcsManager.class, "LBL_VcsManagerClose_mnc").charAt(0));
4.10 + Object[] options = new Object[]{close};
4.11 dd.setOptions(options);
4.12 dd.setValue(options[0]);
4.13 dd.setClosingOptions(options);