How to write save file real time java

Hi everybodyplease suggest me to save file real time by Java. I must to use be cause I do senoir project.thank you everybody for suggest me and provide example.
[181 byte] By [kaenkoona] at [2007-11-27 6:06:54]
# 1
What does "write save file real time" mean?For examples about how to use a FileOutputStream, just ask Google.
CeciNEstPasUnProgrammeura at 2007-7-12 16:23:17 > top of Java-index,Java Essentials,Java Programming...
# 2
> Hi everybody> please suggest me to save file real time by> Java. I must to use be cause I do senoir project.then you should know how, right?
prob.not.sola at 2007-7-12 16:23:17 > top of Java-index,Java Essentials,Java Programming...
# 3
> Hi everybody> please suggest me to save file real time by> Java. I must to use be cause I do senoir project.> thank you everybody for suggest me> and provide example.FileDescriptor.sync()?
cotton.ma at 2007-7-12 16:23:17 > top of Java-index,Java Essentials,Java Programming...
# 4

Don't understand what is going on here......

I think, he wanna know the following:

1. He has a some type of editor.

2. Some button or menu to give the 'save' command (as in tradition editors -> notepad etc)

3. When he gives the save command(by any means) the content should be saved to disk, by showing a file chooser.

Isn't it?

zinnureea at 2007-7-12 16:23:17 > top of Java-index,Java Essentials,Java Programming...