Interviewer And Interviewee Guide

Java Swing Programming Interview Question:

What is the What is the difference between invokeAndWait() and invokeLater()? ?

Submitted by: Administrator
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
Submitted by: Administrator

Read Online Java Swing Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.