enable drag&drop to the dock icon

thanks to Thomas Tempelmann (@tempelmann) and Joe Ranieri on the Apple Mailing List
Archive: http://lists.apple.com/archives/java-dev/2012/Nov/msg00019.html