Inheritance: extending a class
This applet uses a new class, myPoint, which extends the class Point from java.awt.
The Java applet code is not available, but you should be able to easily design
a similar (or better) one. Focus on the new class.
The Java myPoint code.