* minor wan profile enhancement
This commit is contained in:
parent
cd1efeb071
commit
026f99e87a
|
@ -346,12 +346,22 @@ public final class ALogin extends CDialog
|
|||
|
||||
private void validateAppServer() {
|
||||
m_cc.testAppsServer();
|
||||
if (m_cc.getAppsServerException() != null)
|
||||
{
|
||||
if (m_cc.isServerObjects())
|
||||
{
|
||||
m_cc.getAppsServerException().printStackTrace();
|
||||
JOptionPane.showMessageDialog(null,
|
||||
m_cc.getAppsServerException().getLocalizedMessage(),
|
||||
"Error", JOptionPane.ERROR_MESSAGE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void connectToDatabase() {
|
||||
//Check connection
|
||||
DB.setDBTarget(m_cc);
|
||||
if (DB.isRemoteObjects() == false)
|
||||
if (m_cc.isServerObjects() == false)
|
||||
DB.connect();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue