File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exclusively... Swing components

 
Charlie Goth
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Henri Zwolle
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic