This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Use java.awt? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Use java.awt?" Watch "Use java.awt?" New topic
Author

Use java.awt?

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 865
    
    3
The exam requirement says to use Java Foundation classes (Swing component ) exclusively.
Does it mean we cannot use java.awt.ActionEvent, ActionListener, LayoutManager ...those from awt package?

Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2269
    
    3

Himai Minh wrote:Does it mean we cannot use java.awt.ActionEvent, ActionListener, LayoutManager ...those from awt package?


No. You can still use these classes. You just can't use classes that have an equivalent in the javax.swing package. For instance, java.awt.Button cannot be used, since there's javax.swing.JButton.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Use java.awt?