Help on swing display!

Hello sir,

In my swing gui development,

I have a prblem.

When I am get the input from JText, i want to store it in logfile.

I put the java command as ,

==>> FileOutputStream out = new FileOutputStream(outputFileName, true);

the given inputs are cotinuously printed out.

I need the each input in JTextfield stored in seperate line in log file(eg. text file).

What java statement should i include to store every input in new line.

If any one know abt it, pls help me.

[532 byte] By [kalamrama] at [2007-10-2 17:12:34]
# 1
If you use a BufferedWriter, you could use the newLine method. BufferedWriter out = new BufferedWriter(new FileWriter("outfilename"))
BaltimoreJohna at 2007-7-13 18:27:52 > top of Java-index,Desktop,Core GUI APIs...