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

Which of these is used to show the main GUI window? Select one: a. open() b. sho

ID: 3760730 • Letter: W

Question

Which of these is used to show the main GUI window?

Select one:

a. open()

b. show()

c. setVisible(true)

d. display(true)

e. None of these is used to show the main GUI window.

Which of these is NOT a user interface best practice?

Select one:

a. Consistent (look and operation)

b. All of these are user interface best practices

c. Easy to learn (intuitive, natural)

d. Easy to use (efficient, simple)

e. Organized (alignment, grouping, order)

Which of these is true for the swing components?

Select one:

a. Second generation components

b. Do not rely on native windowing systems (lightweight)

c. All of these are true for the swing components.

d. Look and feel consistent across platforms

e. Based on model-view-controller architecture

Which of these is used to allow the user to select exactly 1 item from a group of 3 or more options?

Select one:

a. JRadioButton

b. JCheckBox

c. JLabel

d. JTextField

e. None of these is used for this.

Which of these is used to create a titled window for a GUI application?

Select one:

a. main

b. JApplet

c. JWindow

d. JPane

e. JFrame

Which of these is NOT a Java GUI component?

Select one:

a. JLabel

b. JRadioButton

c. JPushButton

d. JTextArea

e. JCheckBox

For event-driven programming, which of these controls the order of user interactions?

Select one:

a. The program

b. The system

c. The hardware

d. The user

e. The server

Which of these is used to disable a GUI component, causing it to be grayed-out and unavailable for user interaction?

Select one:

a. setAvailable()

b. setUnavailable()

c. turnOff()

d. grayOut()

e. setEnabled(false)

Which of these is another name for an event handler?

Select one:

a. listener

b. receptor

c. receiver

d. catcher

e. watcher

Which of these is routinely used to define an event handler?

Select one:

a. public outer class

b. private inner class

c. private outer class

d. public inner class

e. None of these is routinely used to define an event handler.

please when write the answe put the next to it and than the answer.

make sure they are all of the coorect answer last time it was onre or two of tham were wrong answer.

thank you

,

Explanation / Answer

Which of these is used to show the main GUI window?

Ans : setVisible(true)--> frame.setVisible(true) will show the frame and frame.setVisible(false) will hide the frame.

Which of these is NOT a user interface best practice?

Ans : b. All of these are user interface best practices---> User Interface means user can interact with system easily. Main goal of user interface should be It can be used by user with no knowlwdge So to assure this user interface would be intuitive, efficient, consistent and properly organized.

Which of these is true for the swing components?

Ans : c. All of these are true for the swing components.--- > Swing is totally inplemented in java and java is cross platform langugae so Swing does not rely on native windowing system and more advance than AWT.

Which of these is used to allow the user to select exactly 1 item from a group of 3 or more options?

Ans : JRadioButton

Which of these is used to create a titled window for a GUI application?

Ans JFrame --- > JFrame provides a window with Title in Java GUI applications. It is created using JFrame Class

Which of these is NOT a Java GUI component?

Ans : JPushButton

For event-driven programming, which of these controls the order of user interactions?

Ans : d. The user --- > In traditional programming Events are controlled by Program but in Event Driven programming events are controlled by User by clicking through mouse or other events.

Which of these is used to disable a GUI component, causing it to be grayed-out and unavailable for user interaction?

ans : setEnabled(false)

Which of these is another name for an event handler?

Ans: a. listener

Which of these is routinely used to define an event handler?

d. public inner class

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