Question: code needs to be written in java. Write a program that contains the following GUI components: A textarea that you can copy and paste text
code needs to be written in java.
Write a program that contains the following GUI components:
A textarea that you can copy and paste text into.
A label that says "number of characters".
A text field that displays the number of characters in the text in the textarea when the "count characters" button is clicked.
A Button that says "count characters" that counts the number of characters in the text in the TextArea when clicked and displays them in the textfield.
A button that says "reverse string" that reverses the string in the textarea.
Use an anonymous inner classes for each of your listeners. Follow the example in the Powerpoints.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
