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...

A ________ is a series of actions that can be programmed to automate tasks

A) macro B) table C) form D) report

Computer Science & Information Technology

In ____ communications, devices can send and receive signals, but not at the same time.

A. full-duplex B. half-duplex C. duplex D. wire-duplex

Computer Science & Information Technology