Create an application that has a text area with scroll bars. Enable horizontal scrolling as needed. Always provide vertical scroll bars. Create two buttons. If the first button is pressed, append a number to the text area. Start the number at 1, and increase it after the button is pressed. If the second button is pressed, append a new line to the text area. Put a nice border around the scroll pane.

What will be an ideal response?


See the code in Exercise1.java, ScrollTextWindow.java.

Computer Science & Information Technology

You might also like to view...

To facilitate retrieval of specific records from a file, at least one field in each record is chosen as a ________.

a) master record b) record key c) master key d) field key e) master field

Computer Science & Information Technology

Indicate how pointer-based schemes can be made less susceptible to damage by the loss of a pointer.

What will be an ideal response?

Computer Science & Information Technology

A floating dollar sign appears immediately to the left of the first digit in a dollar value with no spaces.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The cell reference A3 refers to the cell at the intersection of column B and row 4.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology