This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How can I store user input from GUI into a text file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

How can I store user input from GUI into a text file?

drew taylor
Greenhorn

Joined: Feb 20, 2006
Posts: 21
Hi, I have spent ages trying to get this to work. I'm trying to store the value of a textBox into a textFile when the button is clicked.

Instead of out.println("This is line 1"); would I use something like:

out.println(textBox.text) ??

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I store user input from GUI into a text file?
 
Similar Threads
How can I store user input from GUI into a text file?
Need some help with output to file
sockets and printwriting
Getting the URL by crawling whose content-type is not text/html
Please help!