answersLogoWhite

0

invokeLater should be used when your code is performing a GUI change in the Swing UI library, and you cannot guarantee that the change is being made in the Event Dispatching Thread (which can cause data problems, as Swing is not "thread-safe"). So, invokeLater should be used if (1) you are using Swing, and (2) you are using Thread, and (3) the thread from 2 needs to update a GUI element that is part of Swing.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Should you say - used method or method used?

Both "used method" and "method used" can be correct, but they serve different purposes. "Used method" often acts as an adjective phrase to describe a method that has been utilized, while "method used" emphasizes the method itself, highlighting its application. Depending on the context of your sentence, you can choose either. Generally, "method used" is more common in formal writing.


How should data be collected and displayed in the scientific method?

The scientific method does not detail how you do an experiment, only the method used in general terms.


When should electronic commerce be used as a method of solictation?

True


What cooking method should be used for this dish, ensuring that it is prepared without the use of a broiler?

For this dish, you should use the baking method to prepare it without using a broiler.


The first method used to control external bleeding should be?

pressure point


What is the method that should be used to prove a thesis involving time?

Judicial Proof


Why should the scientific method used to answer a question?

It provides a way to test a hypothesis.


Why should scientific method be used to answer a question?

It provides a way to test a hypothesis.


Why should the scientific method be used to answer questions?

It provides a way to test a hypothesis.


Which method should be used to separate these brown pieces from the Green liquid?

Condensing


Why should the scientific method be used to answer a question?

It provides a way to test a hypothesis.


What method for cooling foods should not be used to prevent bacterial growth and ensure food safety?

The method of cooling foods that should not be used to prevent bacterial growth and ensure food safety is leaving them at room temperature.