Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 3188 | Replies: 3
![]() |
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,749
Reputation:
Rep Power: 19
Solved Threads: 200
•
•
Join Date: Jul 2005
Posts: 56
Reputation:
Rep Power: 4
Solved Threads: 0
Here is some partial code to help out a little more...
private String baseFileName = "junk";
private int i = 0;
public void save()
{
String tempFileName = baseFileName + (i++) + ".txt";
// Insert Stream Declaration Stuff
// Insert Code to Save File
// Close Streams
}•
•
Join Date: Jun 2004
Posts: 604
Reputation:
Rep Power: 6
Solved Threads: 6
Hi everyone,
Simply you can put you text in a jtextarea and use the write api for the jtextarea to save the text but if you are using a jtextpane then you can use the
object stream or rtf kit to read and write. Check out their invidual api's for details.
Try to yahoo for them as there are a lot of different of stream format of doing things.
Richard West
ps. Don't foget to answer the thread on the bottom of my signature
Simply you can put you text in a jtextarea and use the write api for the jtextarea to save the text but if you are using a jtextpane then you can use the
object stream or rtf kit to read and write. Check out their invidual api's for details.
Try to yahoo for them as there are a lot of different of stream format of doing things.
Richard West
ps. Don't foget to answer the thread on the bottom of my signature
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode