@ -85,6 +85,10 @@ public class NotificationCenterDialog extends JDialog {
this.dispose();
}
public void showDialog() {
this.setVisible(true);
public void addNotification() {
notificationNeedShow.clear();
@ -29,7 +29,7 @@ public class NotificationCenterPane extends BasicPane {
@Override
public void mouseClicked(MouseEvent e) {
NotificationCenterDialog notificationCenterDialog = new NotificationCenterDialog(DesignerContext.getDesignerFrame());
notificationCenterDialog.setVisible(true);
notificationCenterDialog.showDialog();
});
this.setBackground(UIConstants.TEMPLATE_TAB_PANE_BACKGROUND);