title: Make an application to open your own file extension
body: <p>Just like when you click on a .txt file, it opens in notepad I want to make an application in Java that will open my custom file extensions. I found how to do it in C++, but I want it in Java.
  When I double click on a certain file, it should open in GUI. I need the code to write this GUI.</p>