drawImage method only paints partial image (when image is loaded from Jar)
Posted on 2002-07-19
I have a Java application that loads gif images and paints them in a JPanel. It works great until I deploy that application in a Jar, then it only paints the top 25% of the image. I've tried using both a compressed jar and an uncompressed jar, and the results are the same.
I am using MediaTracker to ensure that the image is completely loaded with no errors before I paint the image. But the image still doens't display correctly.