• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can we make an applet to access local harddisk(sys resources)

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am trying to create an applet which does the job similar to the windows explore. i.e when the applet first loads it should show all the drives present on system. now when the user clicks on the C:\ he should be able to see all the folders contained in it and if he clicks on the folder should be able to see the contents of the folder. this applet should be generic.
i think i have read some where that an applet cannot access system resouces if this is true? then how can i achieve my goal.
i would be thankful if someone sends me the sample code.
thank you
vishnu
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Vishnu,
You are correct, an applet cannot access the local files/directorys (without some major help... signed applets, capability classes, etc.), and overall applets are not meant for that sort of program... you should not try to write an applet that does what you described, why should the user need to run a web page to look at their local files? However, you should be able to write an application that does what you described with little problem...
HTH,
-Nate
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Nathan
well ur are right bout the fact that an applet is not ment for, the kind of job described by Vishnu but suppose their is a requitement then how to go bout it,the question seems very intresting i would be happy if some body puts some thought on it.
even a sample code will be very helpful, as desiered by vishnu.
srinath
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic