aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes .c to text conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark ".c to text conversion" Watch ".c to text conversion" New topic
Author

.c to text conversion

budsy remo
Ranch Hand

Joined: Sep 20, 2008
Posts: 103
Hi , i want to open a .c file in a textarea in text format . How do i do that ?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18140
    
    8

I'm not sure what you mean by a "textarea". However, choosing one of the possibilities, the JTextComponent class has a "read" method which accepts a Reader; you could pass it a FileReader which refers to your C file.
budsy remo
Ranch Hand

Joined: Sep 20, 2008
Posts: 103
Thanks i will try that . Thank you man .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: .c to text conversion
 
Similar Threads
JSP calling servlet
Need to restrict ctrl+c, ctrl+v, ctrl+x
Finding the position in a File
Encryption using java , decryption using c++
Searching a String for a sequence of characters