Results 1 to 3 of 3
  1. #1
    willemjav is offline Senior Member
    Join Date
    Dec 2007
    Location
    Spain
    Posts
    1,075
    Rep Power
    9

    Default applets & threads

    In principle my image slide show applet is working, the info text of each image appears but most of the time the image does not appear (strange enough just so now and than). I believe that is because the applet downloads the image and wants to paint it at the same time but the server does not make the image available right away.
    Should I put the download and paint in different threads?
    Has anybody an idea what might go on and how to solve this?

    willemjav

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    Check out the sections
    Loading Images Into Applets
    Improving Perceived Performance When Loading Image Icons
    on the page How to Use Icons where they discuss loading images on a background thread.

  3. #3
    try
    try is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    Default How can I use thread in transaction context?

    How can use a single JTA transaction in multi thread application withing Servlet?

    Thanks,
    Guddu
    Help on Open Source Utilities - Java OpenÂ*Source Utility Help

Similar Threads

  1. applets on mac what´s going on?
    By willemjav in forum Java Applets
    Replies: 6
    Last Post: 04-19-2008, 08:03 PM
  2. Using threads
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-11-2007, 11:25 AM
  3. Threads
    By one198 in forum Threads and Synchronization
    Replies: 1
    Last Post: 11-20-2007, 07:15 PM
  4. threads and hibernate
    By Marty in forum JDBC
    Replies: 2
    Last Post: 05-09-2007, 02:32 PM
  5. Applets and dll
    By peiceonly in forum Java Applets
    Replies: 1
    Last Post: 04-01-2007, 11:16 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
  •