Results 1 to 3 of 3
  1. #1
    kostinio is offline Member
    Join Date
    Oct 2009
    Rep Power

    Default How we can open a file with a click in button

    Hi all,

    If i want the user to click in a button and then to open a specific file how i can do it? I don't want to do it with file chooser beause the file is specific..

    Thanks in advance :)

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Rep Power


    Read the API specs for the method.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power

Similar Threads

  1. Generate csv file on a button click
    By violeta in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 09-27-2009, 02:54 AM
  2. deselecting a button after the click.
    By ramsrocker in forum New To Java
    Replies: 10
    Last Post: 02-15-2009, 06:52 AM
  3. AWT - catching click button event
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-11-2008, 11:02 PM
  4. How to perform some event to button click
    By eva in forum AWT / Swing
    Replies: 2
    Last Post: 01-16-2008, 12:27 AM
  5. how to click a jbutton and open an url
    By katie in forum AWT / Swing
    Replies: 1
    Last Post: 08-06-2007, 10:44 PM

Posting Permissions

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