Create a JApplet that contains two parallel arrays Solution

Write a Java program that meets the following requirements:
Create a “JApplet” that contains two parallel arrays with at least five friends’ names and phone numbers. Allow the user to enter either a name or phone number and to click a “JButton” to display the other. Include a “JLabel” to describe each “JTextField”. Save the file as JFriendsPhones.java
Purpose:
 Follow established programming conventions for writing java programs  Able to create a button and labels added to an interactive Applet program  Create a child class  Create two parallel arrays  Implement ActionListener  Override the ActionPerformed method.  Use the FlowLayoutManager
Powered by