Swing:-opening a doc/rtf/txt file on button click
0 posts in topic
Flat View  Flat View

Posted By:   Albano_SJC
Posted On:   Thursday, February 21, 2002 11:14 PM

I have created a sort of log file(.rtf) in swing which is stored on the hard disk in "C:/" drive when the swing page is loaded. i used the file writer object to do this. How can i open the file directly from the location where it is stored on clicking the Jbutton, i don't want File chooser to browse and then open, it should be opened directly on clicking the button. Can anyone suggest(code needed) how to do this, it will be very kind of you.

About | Sitemap | Contact