This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
When I use the javadoc tool to generate documents API, I find the class hierarchy of JFrame.
This question may be silly, but I am a bit confused. The JFrame class does derive from the java.awt.Component and also be in the swing package. Furthermore, in the JFrame class there are many fields and hundreds of methods which directly inherit from java.awt.Component. But my instructions state that "It must be composed exclusively with components from the Java Foundation Classes (Swing components)" and I have read the FAQ, "If a class does not inherit from the java.awt.Component, you can use it". So, can I use the JFrame class?
Thanks in advance! Regards, Ailsa Cape [ September 19, 2005: Message edited by: Ailsa Cape ]