Abstract Window Toolkit (AWT) Question:

What is the relationship between clipping and repainting?

Tweet Share WhatsApp

Answer:

When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that requires repainting.

Download AWT PDF Read All 41 AWT Questions
Previous QuestionNext Question
How the Canvas class and the Graphics class are related?When should the method invokeLater() be used?