Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Do some investigating so you can explain the difference between modal and nonmod

ID: 641709 • Letter: D

Question

Do some investigating so you can explain the difference between modal and nonmodal user interfaces. Is a command-line interface modal or nonmodal? Why is event handling necessary when one begins to write programs that have nonmodal interfaces? Let's now discuss some of the facets of event-handling in Java.

What does it mean to "register" an event-handler? Provide an example.

Why are interfaces so useful as the type of objects supplied when registering a handler?

How does the control flow of program that responses to events differ from a more traditional program that uses a command-line input?

Give an example of a situation where a modal window would be useful?

Explanation / Answer

in modal interface, we go through a number of processes and steps and finally return to the same page.

in case of non modal interface, the entire execution takes place on the same page.

command-line interface is an example of non modal interface.

To register event handlers to an element, that is: to make sure a certain script runs when a certain event takes place on a certain HTML element. eg.

Modal windows are an integral part of common GUI toolkits and are frequently used when designing user workflow. Believing that too many active modeless dialogs can lead users into confusion, proponents of modal windows[who?] advocate reducing the amount of user input at a given time.[citation needed] This, they argue, can reduce user confusion, while minimizing the likelihood of an error as a result of having too many modeless windows open concurrently.

Use a modal view when you need to offer the ability to accomplish a self-contained task related to your app

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote