title: why wouldn't a java awt app release focus, on osx, with a custom protocol handler?
body: <p>After launching a simple java awt app on OSX, no other applications can take focus. Clicking on other apps has no effect. It's impossible to enter text into any app except the awt app, until it exits.</p>
  
  <p>This happens <em>only</em> when launching via a custom protocol handler, like <code>open foobar:</code>, or clicking on a <code>foobar:</code> link from a browser. When launching via double-click, or <code>open /Applications/My.app</code>, or <code>java -jar</code>, it works fine: other apps can take focus.</p>
  
  <p>What part of the system is controlling focus? LaunchServices? java? And what's different about opening via a custom protocol?</p>