We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cae5548 commit 9372f74Copy full SHA for 9372f74
src/main/java/org/scijava/ui/swing/console/SwingConsolePane.java
@@ -1,5 +1,4 @@
1
/*
2
- *
3
* #%L
4
* SciJava UI components for Java Swing.
5
* %%
@@ -116,13 +115,7 @@ public void append(final OutputEvent event) {
116
115
@Override
117
public void show() {
118
if (window == null || window.isVisible()) return;
119
- threadService.queue(new Runnable() {
120
-
121
- @Override
122
- public void run() {
123
- window.setVisible(true);
124
- }
125
- });
+ threadService.queue(() -> window.setVisible(true));
126
}
127
128
// -- UIComponent methods --
0 commit comments