Commit 75b18ad
committed
SwingConsolePane: do not catch window focus in show if window is visible
If the console window is already visible, it must not take focus
on show() calls because this leads to an unusable desktop if an
application generates continuous output at System.err which triggers
show() by AbstractConsolePane.outputOccurred(e)).1 parent ad58bd7 commit 75b18ad
File tree
1 file changed
+4
-3
lines changed- src/main/java/org/scijava/ui/swing/console
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
0 commit comments