title: How to associate a file type with a (my) Java application on OSX?
body: <p>I want to be able to double click on textfile.myext and have my java program open and handle the file. </p>
  
  <p>How should I go about making my program accept files that are set as default to open in said program?</p>
  
  <p>What are the steps and what is passed to the program after something is set as default?</p>