Showing feedback while JEditorPane/HTMLEditorKit is loading

Discussion in 'Java' started by Bill Tschumy, Oct 3, 2006.

  1. Bill Tschumy

    Bill Tschumy Guest

    I am using a JEditorPane with an HTMLEditorKit to display an image that is
    built on the fly at a remote URL. The construction of the image can take
    some time so I need to provide feedback to the user that something is
    happening. This can be as simple as setting the title to "loading..." while
    it is happening.

    Can someone point me to the appropriate hooks to know when the image (or
    page) has been loaded and rendered? I suspect I need something like
    MediaTracker functionality that will notify me. There must be something
    built in to the swing.text package somewhere but I've been unable to find it.

    --
    Bill Tschumy
    Otherwise -- Austin, TX
    http://www.otherwise.com
     
    Bill Tschumy, Oct 3, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. plutian
    Replies:
    1
    Views:
    472
  2. Mike Mimic
    Replies:
    8
    Views:
    10,913
    Mike Mimic
    Apr 21, 2004
  3. Bill Tschumy
    Replies:
    1
    Views:
    3,251
  4. Gerrit Hulleman
    Replies:
    3
    Views:
    1,430
    Gerrit Hulleman
    Jul 27, 2004
  5. Nebojsa Topolscak
    Replies:
    3
    Views:
    585
    Jon Caldwell
    Jan 14, 2005
Loading...

Share This Page