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.
Asked
Active
Viewed 1,202 times
0
-
2Have you tried anything? – Pradeep Simha Nov 09 '13 at 09:59
-
means you want to open your own file extension ? – Simmant Nov 09 '13 at 10:02
-
You mean you want a GUI to open something? You could use `Swing` framework. And what does your custom file contain? – Mercenary Nov 09 '13 at 10:09
-
Visite http://stackoverflow.com/questions/62289/read-write-to-windows-registry-using-java/6163701#6163701 – Ravi Parsania Nov 09 '13 at 10:11
1 Answers
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