Abstract Window Toolkit (AWT) Question:
Download Questions PDF

When should the method invokeLater() be used?

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?