This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Exclusively... Swing components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Exclusively... Swing components" Watch "Exclusively... Swing components" New topic
Author

Exclusively... Swing components

Charlie Goth
Ranch Hand

Joined: Feb 26, 2004
Posts: 60
I've just been read my spec, it states - "[The user interface] must be composed exclusively with components from the Java Foundation Classes (Swing components).

The thing is, I've written a class that extends JFrame (to add additional functionality - namely the ability to dynamically edit the menu). Obviously it uses Swing but does it break the requirement (you do need to import more than javax.swing.* to make it work)?

I suspect I'm being too literal, I assume they meant exclusively Swing as opposed to AWT.

Can anyone confirm this?


SCJP (77%)
Henri Zwolle
Greenhorn

Joined: Dec 27, 2005
Posts: 5
Of course you can use your helper class. Just make the source part of the programm. The rule here means you cannot use components from a third party. That is anything you have not written yourself and have to include in the JAR file to make your programm work.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exclusively... Swing components
 
Similar Threads
Swing
NX: Contractor
Using the GridBagLayout
I dont think I may use AWT.
URLyBird GUI description point 1