I wrote a small Java application for Mac. The problem is that I can't pin it to the dock. No experience under Mac'om. Programming under Windows, then assembled on a Mac e.
When mounted in the dock, right-click, after closing the app and trying again to run it — there is a terminal and nothing more. I understand the need to write a script to run and secure it in the dock?