This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 ]