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

All layout managers implement the interface ________.

a. LayoutInterface b. InterfaceLayoutManager c. LayoutManagerInterface d. LayoutManager

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 2-2Max recently came back from Australia, where he developed a Web site about Australian animals. He used the following image to create the code for an image map, shown below the picture. When he tested the code in a browser, he discovered that the code does not work properly. He asked his brother Ethan to help him fix the code. Ethan asked him several questions in order to help him. (Note: The image size is 420 x 280 pixels.)

Australian Parrots

shape="rect" coords="100, 20, 440, 160" href="penguins.htm" alt="Australian Penguins" title="Australian Penguins" />Australian KangaroosAustralian Koalas

The area for Australian Kangaroos is set wrong. How can it be fixed? A. Change the shape attribute value to rect. B. Change the shape attribute value to square. C. Change the coords attribute values to 20, 160, 230, 160, 230, 300, 20, 300. D. either a or c

Computer Science & Information Technology

A car averages 25 miles to the gallon. If gasoline costs $1.30 per gallon, how much does it cost to go on a trip of 1000 miles?

Let x equal what you are trying to fmd x = ($ / trip) What will be an ideal response?

Computer Science & Information Technology

When the form tool is used to create a form with related tables, Access automatically adds a(n) ________ to the main form

Fill in the blank(s) with correct word

Computer Science & Information Technology