statusMsg.setText("Init UserGUI...");
progresB.setValue(80);
UserGUI user = new UserGUI((ImplUserMobileServer) msObj, this);
statusMsg.setText("Connect to JChat server...");
progresB.setValue(90);
if (user.connect()) {
statusMsg.setText("Connect successful!");
progresB.setValue(100);
user.show();
setVisible(false);
}