Chapter 10 Flashcards
1
Q
What are 2 packages for GUI in Java
A
AWT (Abstract Windows Toolkit) (old)
Swing (new)
2
Q
What are heavy weight components
A
AWT components
3
Q
What are light weight components
A
Swing
4
Q
What are 2 types of components
A
Simple
Container
5
Q
What are 5 commonly used layout managers
A
1- BorderLayout 2- BoxLayout 3- GridLayout 4- GridBagLayout 5- FlowLayout
6
Q
What is layout manager
A
A layout manager is an object that implements the LayoutManager interface and determines the size and position of the components within a container.