Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning status popup displayed twice #49

Open
frauzufall opened this issue May 28, 2020 · 0 comments
Open

Warning status popup displayed twice #49

frauzufall opened this issue May 28, 2020 · 0 comments

Comments

@frauzufall
Copy link
Member

frauzufall commented May 28, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant