Dec 17 2007
Netbeans 6.0 gives really nice support for developing Java Micro Edition applications. It provides some useful classes which are not part of standard JME profiles.
One of them is class: org.netbeans.microedition.lcdui.pda.FileBrowser.
It provides file browser for mobile phone implementing JSR-75. It looks fine but there is a bug in it. Method getSelectedFileURL() returns incorrect value, e.g.: file:///E:/myfolder//myfile.mp3 instead of file:///E:/myfolder/myfile.mp3
Removing manually last extra slash fixes the problem.