Hello everyone,
I have a problem with Graphics. When I paint stuff on a graphic
and then display it there is no problem.
However when I init then paint then update again, the changes don t show in Nokia6600 (works well in other phones and simulator)
here is what i do :
Image background;
Graphics g1;
void init()
{
background = Image.createImage(Width, Height);
g1 = background.getGraphics();
paintStuffOnGraphics(g1);
}
void update()
{
paintStuffOngraphics(g1);
}
void paint(Graphics g)
{
g.drawImage( background, X, Y, Graphics.TOP | Graphics.LEFT)
}
any idea of what I am doing wrong?
in fact I am trying to work around the S60 createImage bug but without success so far.
thank you...

Reply With Quote


