The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Re: refresh directory within Java

Posted by Garp on January 30, 2001 at 1:08 PM

I am creating, reading and writing files to winnt through a java program.

My java program creates a file, writes to it, then uses the setPage command with a Jeditorpane to the file's url to display to the user.
Some processing is done and the file is updated. However the next time the setPage command is called (right after updates occur) the updated info does not appear. The info that appears is the same as when the file was created.

BTW, When it tries to read a different file and then comes back to read the first file, it works OK.

Any suggestions?


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us