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

Use java.awt?

 
Himai Minh
Ranch Hand
Posts: 1141
4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2271
3
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic