Project 31

Create User Defined Object (75 points)
Write an applet called Project31.java which will allow the user to input a double. The range for double data types is 1.7e-038 to 3.4e+038. Project31.java must call a user defined object which rounds the double to hundredths, tenths, and the nearest integer. Call your object Round.java. In your object, call the round method from the Math class to do all your rounding. Also in your object, use the String toString method to return a string containg all the output back to Project31.java. Activated the output with a button from Project31.java. Keep both Project31.java and Round.java, in the same directory. Make sure your project can produce the sample output below.

Other Requirements:


Sample Output for Project31.java