Results 1 to 2 of 2
  1. #1
    sehudson's Avatar
    sehudson is offline Senior Member
    Join Date
    Mar 2010
    Rep Power

    Default JFileChooser exit option

    How can I setup a JFileChooser option to display some sort of message when the user clicks the 'X' on the JFileChooser. Right now it just throws a nullPointer, and I wanted to print out some sort of message and do a system.exit.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. JAX-WS\METRO - apt with option option key="r"
    By Talkinjive in forum Web Frameworks
    Replies: 0
    Last Post: 01-31-2010, 04:15 PM
  2. How to exit the program by typing "exit"?
    By Laythe in forum New To Java
    Replies: 6
    Last Post: 08-19-2009, 08:32 PM
  3. CVS with -f option
    By amiga23 in forum Eclipse
    Replies: 2
    Last Post: 09-22-2008, 02:57 AM
  4. Is JSP the right option?
    By Naga in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 08-20-2008, 06:48 AM
  5. the -eprof option?
    By GVD in forum Advanced Java
    Replies: 2
    Last Post: 01-10-2008, 01:48 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