Project 30

Create User Defined Object (75 points)
This project is very similar to project6 ( area of triangle ). One major difference is to have your applet call your own user defined object. Call your applet Project30.java and call your user defined object Triangle.java. From Project30.java, allow the user to input the base and height as floats. Triangle.java must contain a user defined base and height method to accept these values from Project30.java. It must also use the predefined String toString method to return only the area back to your applet. ALL output must come from Project30.java. Also, keep both Project30.java and Triangle.java, in the same directory. Make sure your project can produce the sample output below.

Other Requirements:


Sample Output for Project30.java