Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-20-2007, 05:22 AM
Member
 
Join Date: Jul 2007
Posts: 41
fred is on a distinguished road
How can I save the content of textfield in a text file?
How can I save, what I write in a TextField, in a text file?
any ideas?
thanks
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-06-2007, 10:41 PM
Member
 
Join Date: Jul 2007
Posts: 43
leonard is on a distinguished road
can you paste the code? maybe I can help you
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-07-2007, 05:29 PM
Member
 
Join Date: Jul 2007
Posts: 41
fred is on a distinguished road
hi leonard
I solved it!

I wrote:
Code:
out.write("Name: "+Fr.getNume()+"\n");
instead of
Code:
out.write("Name : " + t1.getText() + "/n");
where fr it's a class
and t1 it's a textfield
if you want I send the all code
thanks !
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 08-09-2007, 02:27 PM
Member
 
Join Date: Aug 2007
Posts: 2
getabhi@zapak.com is on a distinguished road
hey fred,
I just joined the forum.

can u send me the code plzzzzzzzz.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 08-09-2007, 02:30 PM
Member
 
Join Date: Aug 2007
Posts: 2
getabhi@zapak.com is on a distinguished road
hello to all of the forum's member
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Save/Load Vector to/from file Java Tip java.lang 0 04-14-2008 09:37 PM
save file to database katerinaaa New To Java 0 08-14-2007 01:15 PM
Append text inputed in the textfield into a TextArea romina AWT / Swing 1 08-07-2007 06:35 AM
How can I make the file ALWAYS save as .txt by default paul AWT / Swing 1 08-07-2007 06:09 AM
Writing text into an image and save it elcapi Java 2D 2 07-11-2007 08:09 PM


All times are GMT +3. The time now is 10:21 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org