Abstract Window Toolkit (AWT) Question:

Download Job Interview Questions and Answers PDF

When should the method invokeLater() be used?

AWT Interview Question
AWT Interview Question

Answer:

This method is used to ensure that Swing components are updated through the event-dispatching thread.

Download AWT Interview Questions And Answers PDF

Previous QuestionNext Question
What is the relationship between clipping and repainting?What advantage do Javas layout managers provide over traditional windowing systems?