drawImage returns false for Microsoft Java
- From: igorkhalatian@xxxxxxxxxxx
- Date: 25 Jul 2005 16:00:03 -0700
barray - contains byte[] array of the PNG image
image = Toolkit.getDefaultToolkit().createImage(barray);
MediaTracker t = new MediaTracker(this);
t.addImage(image, 0);
try {
t.waitForAll();
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
....
ret = g.drawImage(image, x,y, this);
THIS WORKS FINE IN JUN JAVA but in Microsoft JVM drawImage always
returns false.
Any help is greatly appreciated.
.
- Follow-Ups:
- Re: drawImage returns false for Microsoft Java
- From: Thomas Fritsch
- Re: drawImage returns false for Microsoft Java
- Prev by Date: Re: JList gets moved around in layout after data is added to it
- Next by Date: Re: drawImage returns false for Microsoft Java
- Previous by thread: in need of swing performance advice
- Next by thread: Re: drawImage returns false for Microsoft Java
- Index(es):