I'm using Sun Java 2 v1.2.2 (think! latest, anyway)
I understand the difference between implementing a KeyListener inteface and creating an inner class which extends KeyAdaptor in that empty methods need not be created in the latter case.
As an exercise I'm trying to create an outer class which contains BOTH KeyAdaptor and MouseAdaptor extended inner classes called K and M for the sake of argument.
I get a compile error whenever I have both K and M defined as innder classes within the outer class source file but as soon as I comment out either one, it compiles fine.
Is there a limit to how many inner classes one can create?
The answer to this is not in any one of my three Java reference books.