Results 1 to 2 of 2
  1. #1
    akinpam is offline Member
    Join Date
    Dec 2008
    Posts
    2
    Rep Power
    0

    Default 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.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. [SOLVED] Making a program to open a file (.exe)
    By linux1man in forum New To Java
    Replies: 9
    Last Post: 12-23-2008, 01:27 AM
  2. [SOLVED] open a program full size
    By keffie91 in forum Advanced Java
    Replies: 2
    Last Post: 10-05-2008, 11:26 AM
  3. To open an image file such as Jpeg file using JAva Program
    By itmani2020 in forum Advanced Java
    Replies: 10
    Last Post: 07-11-2008, 10:57 AM
  4. Building a document from a DOM
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-03-2008, 10:22 AM
  5. add a xml document
    By Jack in forum XML
    Replies: 2
    Last Post: 07-04-2007, 10:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •