wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Question" Watch "Question" New topic
Author

Question

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.
Swing
PLAF
MVC
Jframe


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()
setLayout(null);
GUI1 extends Frame
GUI1 gui = new GUI1();
-------

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


Thanks
Munna
[ 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: 11404
    
  81

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


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question
 
Similar Threads
java 1.2 applets
How to add a gui from different class
Problem displaying panel in an applet
Layout Managers
JComboBox on Background Image