Results 1 to 5 of 5
Thread: win32ShellFolder
- 05-28-2010, 11:21 AM #1
Member
- Join Date
- May 2010
- Posts
- 9
- Rep Power
- 0
win32ShellFolder
Hi
I am writing an app that is needs to open dicom imgs(a format for CT images)
when I opened only 1 img I did it by:
opening a jfilechooser and the file I got back was of type win32ShellFolder2
using this file I created an Imageinputstream and read the file.
however now I am trying to open more then 1 file
so I choose a directory from the JFileChooser
get the list of files it contains and open them by
File f = new File(list[i]);
this opens the files as file object which is not good for me
any suggestions on how to open them as win32ShellFolder2
?????
10x
Ran
- 06-02-2010, 11:34 AM #2
Member
- Join Date
- May 2010
- Posts
- 9
- Rep Power
- 0
help
plz
- 06-02-2010, 03:42 PM #3
Not familiar with that. How do you detect what type of file you have?the file I got back was of type win32ShellFolder2
Where do you get/use the package sun.awt.shell?Last edited by Norm; 06-02-2010 at 03:48 PM.
- 06-03-2010, 01:37 AM #4
Member
- Join Date
- May 2010
- Posts
- 9
- Rep Power
- 0
i printed choice.getclass to find the type
I wrote import at the begining of the program
- 06-03-2010, 02:32 AM #5


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks