aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes GUI - JFC include AWT? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "GUI - JFC include AWT?" Watch "GUI - JFC include AWT?" New topic
Author

GUI - JFC include AWT?

Chris Popz
Greenhorn

Joined: Feb 19, 2007
Posts: 14
Hi all!

In the specification for SCJD version 1.3.3 it says that the user interface "must be composed exclusively with components from the Java Foundation Classes (Swing components)". Now to the question:
Is AWT part of the JFC? When searching the web I get "different" answers...

The reason for asking is that my initial idea was to use AWT Layoutmanagers, but...
[ February 22, 2007: Message edited by: Christian Borgstrom ]
Brian Kelly
Ranch Hand

Joined: Jan 04, 2007
Posts: 54
I believe it means you can't use a class that extends
java.awt.Component

So you can't use java.awt.Button

You must use components that extend
javax.swing.JComponent

So you can use javax.swing.JButton

Something like java.awt.GridLayout doesn't extend java.awt.Componet so you can use it.

This is my understand, and if it's wrong, I'm as I've already sent in my assignment


SCJA, SCJP (1.4), SCJD
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: GUI - JFC include AWT?
 
Similar Threads
How to use Tab & Shift-Tab to move between text input fields?
AWT and JFC
URL's within a container
AWT ScrollPane without border
Java