1. You can use this method to make a text field read-only. a. setReadOnly b. setChangeable c. setUneditable d. setEditable 2. A JList component generates this type of event when the user selects an...


1. You can use this method to make a text field read-only.


a. setReadOnly


b. setChangeable


c. setUneditable


d. setEditable


2. A JList component generates this type of event when the user selects an item.


a. action event


b. item event


c. list selection event


d. list change event


3. To display a scroll bar with a JList component, you must __________.


a. do nothing; the JList automatically appears with scroll bars if necessary


b. add the JList component to a JScrollPane component


c. call the setScrollBar method


d. none of the above; you cannot display a scroll bar with a JList component



Dec 15, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here