A GUI should be responsive to the user.If a GUI interaction starts a time-consuming task, the GUI may not be responsive to the user until the task completes.Which approach would make the GUI responsive under these circumstances?
A) As you run the task, break and check for events.
B) Ask the user if she is sure she wants to run the task.
C) Run the task in a separate thread.
D) Disable the GUI during the task.
Correct Answer:
Verified
Q57: Which of the following statements is correct?
A)If
Q58: If a thread sleeps after acquiring a
Q59: Examine the SharedData class shown below.Suppose two
Q60: Which phrase best describes the purpose of
Q61: Consider an old fashioned telephone booth that
Q63: Calling the wait method in synchronized code
Q64: Which are ways that a thread can
Q65: When is it a good idea to
Q66: Under what conditions are locks unnecessary for
Q67: Assume three threads share a BankAccount object
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents