Question
1.(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,
1.(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)
2.(TCOs 1, 4, and 6) In order for multiple radio buttons to function as a group, they must all be added to the same JButton JGroup RadioGroup ButtonGroup
3.(TCOs 1, 4, and 6) The _____ method of a radio button returns true if that button is on. isSelected() getSelected() Selected() RadioSelected()
4.(TCOs 1, 4, and 6) A JTextArea control provides a bounding box used for the layout of JTextField components. is used to group multiple JTextField components together. is a control used to display multiple lines of text provides a scrollbar for a JTextField component.
5.(TCOs 1, 4, and 6) Which of these is NOT one of the three parts to the event-handling mechanism in Java? Event source Event action Event object Event listener
6.(TCOs 1, 4, and 6) Complex layouts are often created in Java GUIs by using multiple _____ components JLayout JPanel FlowLayout GridLayout
7.(TCOs 1, 4, and 6) Menus are attached to windows by calling the _____ method. addMenuBar setJMenuBar setMenu addJMenuBar
8.(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 All the methods in JRadioButton are inherited from javax.swing.AbstractButton. Multiple radio buttons can be selected within a ButtonGroup. All of the methods in JRadioButton are also in JButton
9.(TCOs 1, 4, and 6) The method that creates a keyboard shortcut for a menu item is setKeyboard. setMnemonic. setShortCut. setKeyAccess.
10.(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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started