• Post Reply Bookmark Topic Watch Topic
  • New Topic

GUI and java.awt

 
Zhaozhe Ruan
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could anyone tell me if i can use the java.awt.*package when I develop the GUI during the SCJD exam,thanks
 
Jason Moors
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to use Swing not AWT, i.e. javax.swing.JTable. However Swing still uses some awt packages like java.awt.event so you can include these.

regards
Jason
 
Thirumurugan Mylrajan
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must use only Swing Components and not AWT components. But classes in awt.event are not awt components.

The sun certification website gives additional details than the ones present in instructions.html

Thanks.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. 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!