Browse Source

REPORT-33500 日志面板清除日志后同时清除设计器右上角日志提示信息

feature/big-screen
Yuan.Wang 4 years ago
parent
commit
c2042dbd00
  1. 1
      designer-base/src/main/java/com/fr/design/mainframe/loghandler/LogHandlerBar.java
  2. 5
      designer-base/src/main/java/com/fr/design/mainframe/loghandler/LogMessageBar.java

1
designer-base/src/main/java/com/fr/design/mainframe/loghandler/LogHandlerBar.java

@ -93,6 +93,7 @@ public class LogHandlerBar extends JPanel implements ItemSelectable {
public void clearMessage() {
INFONUM = ERRORNUM = SERVERNUM = 0;
LogMessageBar.getInstance().clear();
changeLabel();
}

5
designer-base/src/main/java/com/fr/design/mainframe/loghandler/LogMessageBar.java

@ -63,6 +63,11 @@ public class LogMessageBar extends JPanel {
repaint();
}
public void clear() {
messageLabel.setText("");
repaint();
}
public void setLoggerBarWidth(int width) {
this.width = width;
}

Loading…
Cancel
Save