• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

exam content

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i was just doing the mock exam by markus green and encountered a question on Swing. Do I have to know that for the exam too.
thanks
barb
import java.awt.*;
public class CompLay extends Frame{
public static void main(String argv[])
{ CompLay cl = new CompLay(); }
CompLay(){
Panel p = new Panel();
p.setBackground(Color.pink);
p.add(new Button("One"));
p.add(new Button("Two"));
p.add(new Button("Three"));
add("South",p);
setLayout(new FlowLayout());
setSize(300,300);
setVisible(true); }}
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where do u think is SSSSSwing being used ?
However if u r preparing for SCJP1.4 u wont have to think of applet stuff.
 
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
B -
The old version of the exam, SCJP 1.2 covered I/O and AWT. The new (well not so new anymore ), version of the exam, SCJP 1.4 does NOT cover I/O or AWT or Swing for that matter. I suppose you might want to take the 1.2 exam but I'd guess for 998 people out of 1000 you should be taking the 1.4 exam.
-B
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AWT is old version of GUI-components (widgets)
Swing is not AWT
AWT is not Swing.
I had used both of them. Swing is much better at all aspects, on my humble opinion.
Swing is not Applet.
AWT is not Applet.
java.awt
javax.swing - corresponding packages
 
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch barbzx.
Please read our naming policy and adjust your displayed name accordingly. Thank you in advance.
 
reply
    Bookmark Topic Watch Topic
  • New Topic