how does the applet update its window when


How does the Applet update its window when information changes?

Whenever an applet requires to update the information displayed in its window, this simply calls repaint ( ) way. The repaint ( ) way is defined through AWT( abstract window toolkit). This causes the AWT run-time system to execute a call to applet's update( ) method that in its default implementation calls paint ( ). Therefore for other part of the applet to output to window of this, simply stores the output and after that calls repaint ( ). The AWT will after that executes a call to paint ( ).

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: how does the applet update its window when
Reference No:- TGS0283267

Expected delivery within 24 Hours