• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use java.awt?

 
Himai Minh
Ranch Hand
Posts: 1400
8
  • 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: 2273
3
Eclipse IDE Java Spring
  • 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.
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!