Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On macOS with headless=False, show the GUI
This uses jpype.setupGuiEnvironment. It works, but: * You must have pyobjc installed from pip (conda packages did not work for me). * With this change, it is now inconsistent whether imagej.init(headless=False) pops a GUI or not. On macOS yes, on Linux and Windows no, with ij.ui().showUI() needing to be called. * This change does not fix the fact that imagej.init(headless=False) is non-blocking on Linux and Windows, but blocking on macOS. This is because on macOS the main thread must eternal stay busy doing the console event loop from this point forward. See #23.
- Loading branch information