N
news.rcn.com
I thought this would be straight-forward but I haven't been able to find an
answer.
I package sample data (image files) in a jar with my application. I want to
let the user select from these and open them using a JFileChooser. But I
don't know how to expose the 'directory tree' within the jar file to the
JFileChooser.
Is this possible?
If not, is there a way to access these file programatically? Then I could
create a menu selection that would open the files and load them. I'd rather
let the user browse though because then I can change the file set with
mucking with other parts of the package.
Thanks a lot
answer.
I package sample data (image files) in a jar with my application. I want to
let the user select from these and open them using a JFileChooser. But I
don't know how to expose the 'directory tree' within the jar file to the
JFileChooser.
Is this possible?
If not, is there a way to access these file programatically? Then I could
create a menu selection that would open the files and load them. I'd rather
let the user browse though because then I can change the file set with
mucking with other parts of the package.
Thanks a lot