I'm creating an operating system-like program in java and have run into a little trouble. I want the user to be able to run jar files of their choice in it, but I don't really know how though.
Basically, it will work like this:
- The user opens a program in the OS called "Import Jar".
- The user clicks "browse", then a JFileChooser pops up.
- After the user specified a file, they click "Finish".
- The Jar starts up in a JInternalFrame.