Scanning One Line At A Time

Scanning One Line At A Time: In order to create this effect just add the following methods to an applet that loads and displays an image:
public boolean imageUpdate(Image image, int flags, int x, int y, int w, int h) { try{ Thread.currentThread().sleep(40); } catch(Exception e) { } repaint(); if((flags & ALLBITS) == 0) return true; else return false; } public void update(Graphics g){ paint(g); }