scijava / scijava-ui-swing

SciJava UI components for Java Swing.
BSD 2-Clause "Simplified" License
7 stars 11 forks source link

Warning status popup displayed twice #49

Open frauzufall opened 4 years ago

frauzufall commented 4 years ago

When firing a warning status in a SciJava application, it is displayed twice. Example code:

ImageJ ij = new ImageJ();
ij.ui().showUI();
StatusEvent event = new StatusEvent("test", true);
ij.event().publish(event);

The first popup is created by the DefaultUIService here, the second one by the SwingStatusBar here. Should I just remove it from the status bar or is there a reason for this duplication?