gui Flashcards
what is the GUI component
is an object that defines a screen element used to display information or allow the user to interact with a program in certain way
what is the container
is special type of component that is used to hold and organize other components
what is the event
is an object that represents some occurrence
what is the event driven
responding to event from the user
what is the listener
is an object that waits for an event to occur and responds in some way when it does
what is the frame
a frame is a container that is used to display GUI based java applications
heavyweight vs lightweight
is one that managed by the underlying operating system
is managed by the java program itself
what is the function of “setDefaultCloseOperation “
determine what will happens in the close button in the corner
what is the function of “ getContentPane “
content pane of the frame is obtained
what is the function of “pack “
set its size based in its components
what is the function of “setVisible “
to be displayed in the monitor screen