Results 1 to 2 of 2
  1. #1
    bayan is offline Member
    Join Date
    Apr 2010
    Rep Power

    Default How to attach a listener to a folder

    Of course this problem looks pretty straight forward but it isn't. How can I attach a listener to a folder instead of having to constantly read it's contents and check for changes. Just when it changes, the action I want to execute takes place.

    Is there any way to do this?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power


    Quote Originally Posted by bayan View Post
    Is there any way to do this?
    No; Java 1.7 has some methods related to this but it'll only be with us in 2011; Java 1.6 (the current version) can't do it.

    kind regards,


Similar Threads

  1. Attach Photos in SWT to database
    By ashin in forum SWT / JFace
    Replies: 0
    Last Post: 08-09-2010, 06:48 AM
  2. need help to attach resumes to access 2007 using jdbc
    By rajasekhar in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 08-02-2010, 12:31 PM
  3. Replies: 4
    Last Post: 03-23-2010, 03:46 PM
  4. how can i attach a worg/image file
    By sniffer139 in forum AWT / Swing
    Replies: 4
    Last Post: 03-12-2010, 06:49 AM
  5. Replies: 2
    Last Post: 04-15-2009, 11:17 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