aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes what if I want to write to chooser file rather message the message2=...? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "what if I want to write to chooser file rather message the message2=...?" Watch "what if I want to write to chooser file rather message the message2=...?" New topic
Author

what if I want to write to chooser file rather message the message2=...?

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 402
can you help?
what if I want to write to chooser file rather message the message2?
what obj type I must create?

pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Leonidas Savvides wrote:can you help?
what if I want to write to chooser file rather message the message2?
what obj type I must create?


Perhaps it's me, but I'm having a tough time understanding just what you're asking here. Could you clarify things a bit? Please read the link TellTheDetails for more information on what information we need to be able to give you an intelligent answer.

Much luck!
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

pete stein wrote:Perhaps it's me, but I'm having a tough time understanding just what you're asking here.

+1


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 402
I mean in message.write(writer); // message must be textfield or textarea , correct ...? what if rather save a textarea only content, SAVE plus some textfields in the same file? how to convert String to obj appropriate for yyyyy.write(writer); // ???
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19538
    
  16

Use writer.write(String). Don't forget to add newline characters (System.getProperty("line.separator")) yourself.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what if I want to write to chooser file rather message the message2=...?
 
Similar Threads
Cant get BoxLayout to work right !!
Runtime Error in Program for Unknown Reasons
How to Save from JTextArea using JFileChooser as a TXT file.
New Quiz Card Builder/Player for Exam Study
JFileChooser : User selected directory & programmatically created file name : How?