Results 1 to 2 of 2
- 02-05-2011, 06:23 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 8
- Rep Power
- 0
Write to a specific line in a file
I have this file:
Crazy love hollywood edition,Crazy love,04:26,Hold on,04:01
Recovery,Love the way you lie,04:23,Cinderalla Man,04:36
Speak now,Mine,03:55,Speak now,04:03
How do i write to the end of each line?
For example:
In this line, i want to add hello, 05:34
Recovery,Love the way you lie,04:23,Cinderalla Man,04:36
Thus, it will look like this:
Recovery,Love the way you lie,04:23,Cinderalla Man,04:36,hello, 05:34
I need to use a gui to do this
Is there any way? The comma are used as delimiters.
Thank you
-
First figure out how do to this without a GUI, using Java I/O, then later use that same code as the "model" for your GUI. The Java tutorials will show you how to do the IO, and if you haven't studied them, I recommend that you give them a look.
Similar Threads
-
read a specific line in an input file
By sara12345 in forum Advanced JavaReplies: 7Last Post: 01-03-2010, 10:40 PM -
writing to specific line in text file
By mickmos in forum New To JavaReplies: 2Last Post: 04-18-2009, 01:01 PM -
Write to line in file
By blackstormattack in forum New To JavaReplies: 3Last Post: 03-09-2009, 12:59 PM -
Writing To A Specific Text File Line
By mokonji in forum New To JavaReplies: 1Last Post: 03-02-2009, 08:13 PM -
how do i print a specific txt file on a specific printer
By nikhilbhat in forum New To JavaReplies: 2Last Post: 11-08-2008, 10:40 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks