Commit de8d4b7
committed
Add an ij.py.show_ui function
It takes care to show the UI on the AWT event dispatch thread.
If the UI is already visible, it raises the application frame instead of
calling ij.ui().showUI() again, since SciJava Common currently has a bug
when doing that where it hoses the UI (see scijava/scijava-common#460).1 parent 8baaac0 commit de8d4b7
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
394 | 413 | | |
395 | 414 | | |
396 | 415 | | |
| |||
0 commit comments