Multiple Choice
What does the following statement do?
JTextArea textField = JTextArea(message, 25, 15) ;
A) It creates a text area with 25 rows and 15 columns that will initially display the text "message."
B) It creates a text area with 25 columns and 15 rows that will initially display the text stored in the String object referenced by message.
C) It creates a text area with 25 columns and 15 rows that will initially display the text stored in the JTextArea object referenced by textField.
D) It creates a text area with 25 rows and 15 columns that will initially display the text stored in the String object referenced by message.
Correct Answer:

Verified
Correct Answer:
Verified
Q13: When using a slider, by default, tick
Q30: When an item in a Jlist object
Q31: What is the default directory for the
Q32: Which of the following file types is
Q33: Which of the following statements adds the
Q34: A _ is a collection of commands
Q36: When you create an instance of the
Q38: The JList and JTextArea components do not
Q39: A tool tip is<br>A) used to make
Q40: The indices for a list or combo