Results 1 to 2 of 2
- 12-21-2008, 06:11 PM #1
Member
- Join Date
- Dec 2008
- Posts
- 2
- Rep Power
- 0
i want to open a document from my program
i've bin trying to open a document from my program.
the thing is - u select a file using the file chooser,the path of the file is retrieved into a textfield.then u click on a button to open the file using the system library-e.g a .doc file is opened with microsoft word.
i've been using System.load(String fileName); to no avail.what do i do.
- 12-21-2008, 07:09 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
Read more about Runtime class.
Similar Threads
-
[SOLVED] Making a program to open a file (.exe)
By linux1man in forum New To JavaReplies: 9Last Post: 12-23-2008, 01:27 AM -
[SOLVED] open a program full size
By keffie91 in forum Advanced JavaReplies: 2Last Post: 10-05-2008, 11:26 AM -
To open an image file such as Jpeg file using JAva Program
By itmani2020 in forum Advanced JavaReplies: 10Last Post: 07-11-2008, 10:57 AM -
Building a document from a DOM
By Java Tip in forum Java TipReplies: 0Last Post: 01-03-2008, 10:22 AM -
add a xml document
By Jack in forum XMLReplies: 2Last Post: 07-04-2007, 10:21 AM
Bookmarks