jQuery in Action, 3rd edition
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Question" Watch "Question" New topic


munna next
Ranch Hand

Joined: Sep 28, 2004
Posts: 46
Hi I come across this question. My answer is Swing. Is rthis correct ? Thanks

_________ provides a set of lightweight components that can be used in place of the heavyweight AWT components.

While running a Swing applet, the following error message is displayed: Swing: checked access to system event queue. This message is caused by:
coding an additional thread in the JApplet.
adding painting code directly to the JApplet object.
removing components from the JApplet�s content pane.
checking whether the applet has access to the system queue.

I don't have any clue on this questions. Can somebody answer this ?

A programmer is using Java to create a GUI in an application. Which statement is included in the code to allow absolute positioning rather than the layout manager implementation?
public GUI1()
GUI1 extends Frame
GUI1 gui = new GUI1();

I guess it is "setLayout(null);" is this correct ?

[ March 06, 2005: Message edited by: munna next ]
Paul Bourdeaux
Ranch Hand

Joined: May 24, 2004
Posts: 783
Hi Munna,

These questions sound like they belong in the SCJP forum instead of here. Also, if you are studying for the SCJP, you might want to make sure you are using study materials for the current version of the test. The SCJP version 1.4 (CX-310-035) does not deal with Swing or AWT anymore. That was from the older versions of the test.
[ March 06, 2005: Message edited by: Paul Bourdeaux ]

“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11778

Moved to SCJP ....

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
and the 1.2 exam doesn't deal with Swing either so either this is from a poorly constructed practice exam or it's from something unrelated to SCJP

I agree. Here's the link: http://aspose.com/file-tools
subject: Question
It's not a secret anymore!