gui Flashcards

1
Q

what is the GUI component

A

is an object that defines a screen element used to display information or allow the user to interact with a program in certain way

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

what is the container

A

is special type of component that is used to hold and organize other components

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

what is the event

A

is an object that represents some occurrence

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

what is the event driven

A

responding to event from the user

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

what is the listener

A

is an object that waits for an event to occur and responds in some way when it does

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

what is the frame

A

a frame is a container that is used to display GUI based java applications

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

heavyweight vs lightweight

A

is one that managed by the underlying operating system

is managed by the java program itself

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

what is the function of “setDefaultCloseOperation “

A

determine what will happens in the close button in the corner

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

what is the function of “ getContentPane “

A

content pane of the frame is obtained

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

what is the function of “pack “

A

set its size based in its components

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

what is the function of “setVisible “

A

to be displayed in the monitor screen

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