Hi
These too slow, can improve?
g.drawImage(new ImageIcon(JGrantt.class.getResource(
"image/barLeft.png")).getImage(), 0, 1, 3, 17, null);
g.drawImage(new ImageIcon(JGrantt.class.getResource(
"image/barMiddle.png")).getImage(), 3, 1,
getWidth() - 6, 17, null);
g.drawImage(new ImageIcon(JGrantt.class.getResource(
"image/barRight.png")).getImage(),
getWidth() - 4, 1, 3,
17, null);
thanks
from Peter (cmk128@hotmail.com)
Knute Johnson - 25 Dec 2003 17:29 GMT
> Hi
> These too slow, can improve?
[quoted text clipped - 11 lines]
> thanks
> from Peter (cmk128@hotmail.com)
Load the images someplace other than the paint or render routine.

Signature
Knute Johnson
email s/nospam/knute/
Molon labe...