Java Doubt

This is a discussion on Java Doubt within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I am a beginer to java.. And i have a doubt.. If any one could help me.. I wrote a ...

  1. #1
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    Java Doubt

    I am a beginer to java.. And i have a doubt.. If any one could help me..



    I wrote a command line program to write a file to the disk and it worked properly.. Then i tried to write a note pad applet.. When my applet saves the file... it shows no errors.. but the file is not created.. This is happening only with applets.. Does anybody know what is wrong...

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Applets don't have disk access. It's the purpose of applets to be safe and don't damage a user's computer. Though you don't damage anything with your applet, it still has to comply to those restrictions. I wonder why you don't get compiler errors.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C#, Java, C++
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 10-05-2004, 03:06 PM
  2. The Java language is being expanded
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 06-11-2004, 10:07 PM
  3. Java woes
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 07-06-2003, 01:37 AM
  4. How to use Java with C++
    By Arrow Mk 84 in forum C++ Programming
    Replies: 2
    Last Post: 02-27-2003, 04:12 PM
  5. C or Java as a first language
    By CorJava in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 10-23-2002, 06:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21