File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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: 762
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
 
GeeCON Prague 2014
 
subject: Use java.awt?