The Artima Developer Community
Sponsored Link

Java Answers Forum
Editing a data file

1 reply on 1 page. Most recent reply: Apr 17, 2003 9:25 AM by Sohail Sikora

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Courtenay

Posts: 23
Nickname: courtz
Registered: Apr, 2003

Editing a data file Posted: Apr 16, 2003 6:35 AM
Reply to this message Reply
Advertisement
I understand that RandomAccessFile may read and write to a file, but how would I edit a string within that file. I am currently working on a GUI and I would like to edit certain features of the data file so that it can change the data read in by the JList.

Could anyone help?


Sohail Sikora

Posts: 2
Nickname: trytohelp
Registered: Apr, 2003

Re: Editing a data file Posted: Apr 17, 2003 9:25 AM
Reply to this message Reply
Just read the data string into a variable and edit the same.

Flat View: This topic has 1 reply on 1 page
Topic: NEED help with a simple program Previous Topic   Next Topic Topic: Can u answer these

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use