Eric C Barnhill wrote:
What really throws me is the "found: no arguments". Anyway I am missing something conceptually here. Why this ExtensionClass is not a valid implementation of the GenericClass?
First, you are trying to use the GenericClass in its raw form. This should be done for backwards compatibility only. Second, your GenericClass class doesn't have a no-args constructor. A default no args constructor is only provided if no constructor is defined. And third, what is the purpose of having those instance variables in the GenericClass class, if they won't be used?
Isn't something like this better?
And also... you may want to make the GenericClass instance variables protected, or provide getters (also protected), so that the ComponentClass can access the values.
Henry