This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 737
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: 2265
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use java.awt?