Question
How is multi-threading gets implemented using Swing

Answers

Swing uses multi-threading techniques to utilize the resources that are provided by the Java classes. Swing allows the users to create independent threads that can be used to change the model states of the components. If any changes happens in the component that is reflected on the screen then just updating the model state of the class that is used from the event dispatching queue. This event dispatching queue allows the component to communicate with each other. It also handles the user interface events that are used by the components. To increase the performance it requires the modifications to be refreshed so that the updated data is always received every time the component gets repeated. Multi-threading allows the swing program to run faster. This decreases the delay time and reduces the CPU usage that is used by the programs running on a single thread environment.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q What is the difference b/w readonly variable and constant variable?
  • Q what is the fruit of Philydraceae ?
  • Q …………………is a scheme being launched from April to December and is a confidence building exercise to build the confidence of a recessionary world terrorized by the Mumbai attack. Govt. of India announced which scheme to boost tourism recently?
  • Q Explain the terms "TEST" and " Business Component"
  • Q True or False? When a person makes a Freedom of Information request, an agency must provide copies of the documents or records at no cost to the person making the request. (A)True. (B)False.
  • Q Explain the difference between mapping parameter and mapping variable?
  • Q Which union minister has launched Google’s UPI-based digital payment service ‘Tez’?
  • Q The main language of Haryana is:
  • Q The factors that determine the sensitivity of super heterodyne receiver are?
  • Q Solve the equation 3(y – 5 ) = 18
  • Q What is the difference between progress and meter tag?