* 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() {
|
private void validateAppServer() {
|
||||||
m_cc.testAppsServer();
|
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() {
|
private void connectToDatabase() {
|
||||||
//Check connection
|
//Check connection
|
||||||
DB.setDBTarget(m_cc);
|
DB.setDBTarget(m_cc);
|
||||||
if (DB.isRemoteObjects() == false)
|
if (m_cc.isServerObjects() == false)
|
||||||
DB.connect();
|
DB.connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue