File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Applet not showing local drives on the tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Applet not showing local drives on the tree" Watch "Applet not showing local drives on the tree" New topic
Author

Applet not showing local drives on the tree

Manoj Paul
Ranch Hand

Joined: Jan 18, 2007
Posts: 110
Hello friends...

My applet is showin only the root that is (My computer) on top of my jTree but not showing nodes as should be like a:\, c:\, d:\, etc....
But when i am running this same application as swing its showing exactly as i wanted.. I came to know that its a matter of Signed and unsigned Applet which i have no idea of exactly what it is..
Can you Please help me?..
Thank you
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Haven't faced this problem before, but applet restrictions and how to circumvent them is discussed at HowCanAnAppletReadFilesOnTheLocalFileSystem


Ping & DNS - updated with new look and Ping home screen widget
Vijay Daniel
Greenhorn

Joined: Mar 30, 2007
Posts: 7
Hi,

I guess this might be due to the limitations on applets.
I think changes in the policy file in your JDK might work.

With Regards
Vijay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet not showing local drives on the tree
 
Similar Threads
Applet Communication Problem
Using Swing in Applets
java applet calling jar files....
Applet on windows and Linux............
Applet time out