I understand what what you recommended I do: create a class whose constructor class the constructor of another class using the object created by the first constructor call as an argument to create an instance of the second class. However, when I try to run the applet now it still doesn't perform the action as written.