tags:

views:

99

answers:

2

I thought I'd ask in case someone else has run into this before.

How would you go about showing the user's file directory structure in a Java applet, something like Windows Explorer?

Would I have to create a JTree and manipulate that, or is there an easier way?

+1  A: 

I think JTree would be the easiest way.

but if you just want it to view files before you load them then use a file chooser.

Victor
+2  A: 

The easiest way is to use a FileChooser. Your applet needs to be a signed applet so it could access the client file system, here a small article regarding this

victor hugo