Class JTextArea’s getSelectedText method ________.

a. returns the text in the JTextArea
b. returns the selected text in the JTextArea
c. displays only the selected text in the JTextArea
d. sets the selected text in the JTextArea

b. returns the selected text in the JTextArea

Computer Science & Information Technology

You might also like to view...

Themes add professional design to a SharePoint site, including fonts, styles, and professionally designed palettes of colors that go well together

Indicate whether the statement is true or false

Computer Science & Information Technology

Users can create forms that view records that reside in the underlying table or query called the data ________

A) source B) parent C) home D) top-level

Computer Science & Information Technology