try {
connecting = true;
boolean connect = true;
OracleDataSource ods = getOracleDataSource();
if (!getSavePassword()) {
PasswordJPanel pjp = new PasswordJPanel();
pjp.ShowDialog(getUserName());
connect =
pjp.getisOK();
if (connect) {
ods.setPassword(pjp.getPassword());
}
}
if (connect) {
String localmsg = NbBundle.getMessage(Utils.getCommonClass(), "LBL_ConnectingToAs", Parent.toString(), UserName);