Interviewer And Interviewee Guide

Eclipse Interview Question:

How to access UI objects from a non-ui thread?

Submitted by: Administrator
Use Display.getDefault().asyncExec(new Runnable()...) Display.asyncExec causes the run() method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The caller of this method continues to run in parallel, and is not notified when the runnable has completed.
Submitted by: Administrator

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