Rendering an Image
Hi
This code does not render a black 100*100 square on my screen when executing run. Why not?
import javax.microedition.lcdui.*;
import javax.microedition.lcdui.game.*;
publicclass gCanvasextends GameCanvasimplements Runnable
{
private Graphics g;
private Image board;
public gCanvas ()
{
board = Image.createImage(100, 100);
g = board.getGraphics();
g.setColor(color.black);// = 0x000000
g.fillRect(0, 0, board.getWidth(), board.getHeight());
}
publicvoid run ()
{
paint(g);
}
}

