Browse Source

无jira任务,10.0启动

master
kerry 7 years ago
parent
commit
75ce9ba204
  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) {
this.userInfoPane = userInfoPane;
String userName = ServerConfig.getInstance().getBbsUsername();
this.addMouseListener(userInfoAdapter);
this.setHorizontalAlignment(SwingConstants.CENTER);
this.setText(userName);
if (StableUtils.getMajorJavaVersion() == VERSION_8) {
LoginWebBridge.getHelper().setUILabel(UserInfoLabel.this);

Loading…
Cancel
Save