0

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.

bitSmith
  • 11
  • 4

1 Answers1

1

In Windows you need to modify the registry like so: https://stackoverflow.com/a/69826/1178052

To modify the registry in Java: https://stackoverflow.com/a/6163701/1178052

Community
  • 1
  • 1
Dale Myers
  • 2,703
  • 3
  • 26
  • 48