The JFrame class
Why does the JFrame class implement the Accessible interface in its code? Isn't the Accessible interface already inherited when the JFrame extended to the Window class?
I'm fairly new to Java and have been going through the documentation on the APIs and noticed this. Haven't seen if it is elsewhere.
Thanks to whoever provides input.
[356 byte] By [
spysmily1a] at [2007-11-27 5:38:47]

Because Sun do not exclusively employ perfect developers, basically. Looking at the source for both JFrame and Window, you'll see they were written by different programmers. The pair that developed JFrame possibly didn't realise that the class implicitly already implemented Accessible. Notice how Frame implements MenuContainer, which a superclass - Component - already does.
The JDK isn't a particularly well-designed lump of code, to be honest. It's full of examples of how not to do things, poor OO design and silly mistakes like this. Don't make the mistake of thinking because it's a Sun release, it must show The Right Way ?to do things, it doesn't