1st - a string like ..\media\my.mp3 should also work to play the file...
2nd - getAbsolutePath(...) gets you the comlete filename incl. path...
3rd - I think you want to scan a folder and add all mp3 files to a list box...
If so, all previous hints are pretty helpless...
Well, you can get the path with getAbsolutePath(...), then you can use the windows api to scan this path...
check the MSDN for FindFirstFile and FindNextFile
listbox
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java