info.setMessage(login.getMessage());
info.setTextColor(login.getTextColor());
PlacemarkUtils.setLoginCoverScreenInfo(info);
} else {
GoToCoverScreenInfo info = new GoToCoverScreenInfo();
CoverScreenPropertyPanel goTo = (CoverScreenPropertyPanel) getActiveTabPanel();
info.setBackgroundColor(goTo.getBackColor());
String uri=goTo.getImageURL();
File image = goTo.getImage();
if(image!=null) {
uri = uploadImage(image);
}
goToPropertyPanel.setImageURL(uri);
info.setImageURL(uri);
info.setMessage(goTo.getMessage());
info.setTextColor(goTo.getTextColor());
PlacemarkUtils.setGoToCoverScreenInfo(info,LoginManager.getPrimary());
}
}