Browse Source

Merge pull request #1702 in BA/design from ~KERRY/design:feature/10.0 to feature/10.0

* commit '75ce9ba2040a45c305e9a1438c5d9448a60563e8':
  无jira任务,10.0启动
master
superman 7 years ago
parent
commit
ceaa22cc70
  1. 2
      designer/src/com/fr/design/mainframe/bbs/UserInfoLabel.java

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

@ -95,10 +95,8 @@ public class UserInfoLabel extends UILabel {
private void init(UserInfoPane userInfoPane) { private void init(UserInfoPane userInfoPane) {
this.userInfoPane = userInfoPane; this.userInfoPane = userInfoPane;
String userName = ServerConfig.getInstance().getBbsUsername();
this.addMouseListener(userInfoAdapter); this.addMouseListener(userInfoAdapter);
this.setHorizontalAlignment(SwingConstants.CENTER); this.setHorizontalAlignment(SwingConstants.CENTER);
this.setText(userName);
if (StableUtils.getMajorJavaVersion() == VERSION_8) { if (StableUtils.getMajorJavaVersion() == VERSION_8) {
LoginWebBridge.getHelper().setUILabel(UserInfoLabel.this); LoginWebBridge.getHelper().setUILabel(UserInfoLabel.this);

Loading…
Cancel
Save