1. Saving MP3 playlist to file stackoverflow.comI am making my own crude MP3 player, and I now have a JList with which I have populated a number of files in the form of MP3 objects (displayed on ... |
2. JavaSwing (FileReader) read txt.file and write into JList - randomly works Oo stackoverflow.comHi I'm working on a JavaSwing application but there's a problem with... I don't know exactly but I think it's maybe a (re)paint-problem :S - anyway here's my code: MAIN:
|
3. Need help c JList & File opening coderanch.comWell, basically, when you click on the item, you need to find the extension of the file, then use some SWITCH CASE or IF statement to determine which program to use. Then you will need to use Runtime.exec(args) to run the appropriate application. Most applications like Word and Excel will allow you to run a file and open the document like: ... |
4. Canonical construction of JList from FIle. coderanch.com |
5. JList Population through file forums.oracle.com |
6. Droping file to JList forums.oracle.com |
7. How run jar files from a Jlist forums.oracle.comThere may be much more wrong but since you use java -jar me.jar then I would expect the name in Process p = rt.exec("java -jar" + name); to include the ".jar" not exclude it has you have done. Also, why not not Process p = rt.exec("java -jar " + filename); // Note the space I added after the -jar since you ... |