1.1 --- a/j2ee.sun.ws7/src/org/netbeans/modules/j2ee/sun/ws7/ui/WS70AddServerChoiceVisualPanel.java Thu Sep 14 07:58:28 2006 +0000
1.2 +++ b/j2ee.sun.ws7/src/org/netbeans/modules/j2ee/sun/ws7/ui/WS70AddServerChoiceVisualPanel.java Thu Sep 14 15:11:26 2006 +0000
1.3 @@ -143,8 +143,14 @@
1.4 }
1.5
1.6 if(!isValidServer(new File(installDirName))){
1.7 - Util.showError(NbBundle.getBundle(WS70AddServerChoiceVisualPanel.class).getString("MSG_INVALID_SERVER_DIRECTORY"));
1.8 +
1.9 + // Bug# 84607 Just show the error at the bottom of the panel.
1.10 + // Message box is only needed when user has selected a wrong
1.11 + // directory name using the FileChooser
1.12 +
1.13 + //Util.showError(NbBundle.getBundle(WS70AddServerChoiceVisualPanel.class).getString("MSG_INVALID_SERVER_DIRECTORY"));
1.14 jLocationTxt.requestFocusInWindow();
1.15 + jLocationTxt.selectAll();
1.16 return false;
1.17 }
1.18 return true;