- public void drawFrame()
- {
- int cHeight = Canvas.getHeight.intValue();
- int cWidth = Canvas.getWidth.intValue();
- int fHeight = cHeight -20;
- int fWidth = fWidth -20;
- Rectangle frame = new Rectangle(0, 0, cHeight, cHeight);
- myCanvas.fill(frame);
- myCanvas.wait(200);
- myCanvas.eraseRectangle (20, 20, fHeight, fWidth);
- }