Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 3 pts (TCOs 1, 4, and 6) Which of the following would be an appropriate use of a check box control? Marital status

Question 1 3 pts (TCOs 1, 4, and 6) Which of the following would be an appropriate use of a check box control? Marital status (single, married) Gender (male, female) Insurance benefits (health, vision, dental) Either marital status (single, married) or gender (male, female)

Question 2 3 pts (TCOs 1, 4, and 6) Consider a form with a ButtonGroup with three radio buttons and two check boxes. What is the total number of radio buttons and check boxes that can be selected at any time? 5 4 3 2

Question 3 3 pts (TCOs 1, 4, and 6) The isSelected() method of a radio button returns the value _____ if that button is on. checked true false selected

Question 4 3 pts (TCOs 1, 4, and 6) Which statement would be used to add a JTextArea component txtMessage with scroll bars if needed to display its complete contents? add(txtMessage(JScrollBar)); add(new JScrollBar(txtMessage)); add(new JScrollPane(txtMessage)); add(txtMessage.JScrollPane());

Question 5 3 pts (TCOs 1, 4, and 6) Pressing a button generates a(n) _____ event. Objectevent ClickEvent ActionEvent MouseEvent

Question 6 3 pts (TCOs 1, 4, and 6) Complex layouts are often created in Java GUIs by using multiple _____ components. JLayout JPanel FlowLayout GridLayout

Question 7 3 pts (TCOs 1, 4, and 6) A _____ component can contain one or more JMenu components. JMenuItem JMenuBar FileMenu BarMenu

Question 8 3 pts (TCOs 1, 4, and 6) Which of the following statements is false? All the methods in JRadioButton are inherited from javax.swing.AbstractButton. You can use an icon on JRadioButton. Multiple radio buttons can be selected within a ButtonGroup. All of the methods in JRadioButton are also in JButton.

Question 9 3 pts (TCOs 1, 4, and 6) What method is used to create a line separator between menu items? addLine() addBar() addSeparator() addBreak()

Question 10 3 pts (TCOs 1, 4, and 6) Which method returns true if the radio button radOne has been selected by the user? radOne.Selected() radOne.Selected(true) radOne.isSelected(true) radOne.isSelected()

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probabilistic Databases

Authors: Dan Suciu, Dan Olteanu, Christopher Re, Christoph Koch

1st Edition

3031007514, 978-3031007514

More Books

Students also viewed these Databases questions

Question

Explain what a patent is and describe different types of patents.

Answered: 1 week ago

Question

=+With whom does the firm have to negotiate?

Answered: 1 week ago

Question

=+Are there shop stewards?

Answered: 1 week ago