What is the What is the difference between invokeAndWait() and invokeLater()? ?
Submitted by: AdministratorinvokeAndWait() 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
Submitted by: Administrator
Read Online Java Swing Programming Job Interview Questions And Answers
Top Java Swing Programming Questions
☺ | What is clipping? |
☺ | Why should any swing call back implementation execute quickly? |
☺ | What are the advantages of the event-delegation model over the event-inheritance model? |
☺ | Which method of the Component class is used to set the position and size of a component? |
☺ | What is the What is the difference between invokeAndWait() and invokeLater()? ? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |