xiaxiang 9 years ago
parent
commit
07feaf537c
  1. 6
      designer/src/com/fr/design/mainframe/bbs/BBSLoginDialog.java
  2. 2
      designer/src/com/fr/design/mainframe/bbs/UserInfoLabel.java

6
designer/src/com/fr/design/mainframe/bbs/BBSLoginDialog.java

@ -225,9 +225,13 @@ public class BBSLoginDialog extends UIDialog {
setLoginFailureTxt(Inter.getLocText("FR-Designer-BBSLogin_Login-Failure-Tip"));
}
public void tipForUsernameEmpty(){
private void tipForUsernameEmpty(){
setLoginFailureTxt(Inter.getLocText("FR-Designer-BBSLogin_Username-Empty-Tip"));
}
public void tipForDownloadPluginWithoutLogin() {
setLoginFailureTxt(Inter.getLocText("FR-Designer-BBSLogin_Download-Unlogin-Tip"));
}
private void tipForPasswordEmpty(){
setLoginFailureTxt(Inter.getLocText("FR-Designer-BBSLogin_Password-Empty-Tip"));

2
designer/src/com/fr/design/mainframe/bbs/UserInfoLabel.java

@ -81,7 +81,7 @@ public class UserInfoLabel extends UILabel{
bbsLoginDialog = new BBSLoginDialog(DesignerContext.getDesignerFrame(), UserInfoLabel.this);
}
bbsLoginDialog.clearLoginInformation();
bbsLoginDialog.tipForUsernameEmpty();
bbsLoginDialog.tipForDownloadPluginWithoutLogin();
bbsLoginDialog.setModal(true);
bbsLoginDialog.showWindow();
}

Loading…
Cancel
Save