Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Java Swing Interview Questions and Answers

Ques. What is the What is the difference between invokeAndWait() and invokeLater()?
Ans. invokeAndWait() method in swing is synchronous. It blocks until Runnable task is complete. InvokeLater() method in swing is asynchronous. It posts an action event to the event queue and returns immediately. It will not wait for the task to complete.
Is it helpful? Yes No

Most helpful rated by users:

©2022 WithoutBook