I need to derive from the following class:
public abstract class MyTool<VIEW extends MyView>
implements LookupListener, MouseListener, MouseMotionListener, KeyListener {}
The following does not work:
public abstract class MySubTool<VIEW> extends MyTool<VIEW> {}
Thanks !
The compiler in MySubTool as no way of knowing that
VIEWinMySubToolis a subclass ofMyView, you have to specify it again: