Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

frame2

By: ace on Feb 24th, 2010  |  syntax: None  |  size: 0.40 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public void drawFrame()
  2.     {
  3.        int cHeight = Canvas.getHeight.intValue();
  4.        int cWidth = Canvas.getWidth.intValue();
  5.        int fHeight = cHeight -20;
  6.        int fWidth = fWidth -20;
  7.        Rectangle frame = new Rectangle(0, 0, cHeight, cHeight);
  8.          myCanvas.fill(frame);
  9.          myCanvas.wait(200);
  10.          myCanvas.eraseRectangle (20, 20, fHeight, fWidth);
  11.          
  12.         }