Login  Register

Re: stop ij.imagej batch process from stealing focus in OSX

Posted by dscho on Jul 22, 2013; 6:01pm
URL: http://imagej.273.s1.nabble.com/stop-ij-imagej-batch-process-from-stealing-focus-in-OSX-tp3687432p5004076.html

Hi,

On Fri, 19 Jul 2013, marshall2k wrote:

> Adding the flag -Dapple.awt.UIElement="true" should stop the process
> stealing focus. It also stops the coffee cup appearing the dock every
> cycle.

Thank you very much! This was an annoying issue for me for a long time
when developing software on a Mac: unit tests were constantly interfering
with the tasks I wanted to perform while they're running.

I use that flag in ImageJ2 and SciJava-common now.

> Apologies if this breaks a rule regarding resurrecting old posts but I
> searched for a long time to find an answer and I hope this saves other
> people time!

Personally, I have little sympathy for people who think old posts should
not be resurrected, *especially* when somebody spent an effort to add new
information to it.

So: thank you very, very much!
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html