Which method do you use to change the state of aJCheckBox?
A. void setSelected(boolean)
B. boolean isSelected()
C. void setText(String)
D. String getText()
Answer: A
You might also like to view...
If you use your pointer to move a control without clicking on the ________, you will move both controls at the same time
A) sizing logo B) move logo C) sizing handles D) move handle
The option to transpose data is found in the ____ dialog box.
A. Series B. Data Validation C. Paste Special D. Move or Copy
The mkdir (make directory; Sobell, page 91) utility creates a directory. Use mkdir to create a directory named two as a subdirectory of your home direc- tory. Use file to make sure two exists and is a directory.
What will be an ideal response?
Which of the following statements about JPanels is false?
a. A JPanel is a JComponent. b. A JPanel is a Container. c. A JPanel does not have a content pane. d. A JPanel has a fixed size.