Can anybody help me: I have an applet class and canvas class. On applet load applet class reads values from a file (which is a database) and pass it to the canvas class which draws them. On user input, applet class gets inputed values, search the file accordingly, and send some other data to canvas. But canvas wouldn't repaint. Only when I minimize appletviewer window and maximize it again or when I pass some other window over it, it refreshes. Q: How to force canvas to refresh? Thanks!