Asked by Stecy Franck on Jun 29, 2024

verifed

Verified

A _____________ allows multiple lines of text to be displayed.

A) JTextField
B) JTextArea
C) JTextBox
D) JTextValue

Multiple Lines

Refers to text or code that spans over more than one line.

JTextArea

JTextArea is a component in Java Swing that allows for the display and editing of a multi-line area of text.

  • Discern the functionalities offered by various Swing containers and components.
verifed

Verified Answer

YS
yvonne shafferJul 04, 2024
Final Answer :
B
Explanation :
JTextField only allows a single line of text to be displayed, while JTextArea allows for multiple lines of text. JTextBox and JTextValue are not valid Java Swing components.