Hi, beginner java programmer here
How do I open a file with a java program? Search results return people trying to open a file with streams, or native applications and command lines and such; this is not what I want.
What I want, is to be able to double-click, say, an image on the desktop then have it open in my java image viewer.
I've gotten so far as to load an image from a command line argument, but that means I need to use the command prompt or a batch file for it to work...
Thanks.