Java Foundation Classes and Containers Flashcards

1
Q

JFC

A

Java Foundation Classes

Group of features to develop GUIs and adding graphics functionality and interactivity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

3 top-level container classes in swing API

A

JFrame
JDialog
JApplet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Containment Hierarchy

A

Tree of components that has a top-level container as its root
Needed to display UI during runtim

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

UI Components Containment Limits

A

Can only be contained once

Contained twice –> Goes with last container

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Content Pane

A

Contains visible components in that top-level container’s UI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Standalone application with swing-based UI

A

At least one containment hierarchy with a JFrame as its root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Application has one main window and two dialogs

A

JFrame (1) as its root

JDialog (2) as it root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Swing-based applet

A

At least one containment hierarchy, exactly one of which is rooted by a JApplet object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Applet that brings up a dialog

A

JApplet (1) as its root

JDialog (1) as its root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly