9.34 Graphics Using AWT Controls
19. Dialog boxes are interface used by system when it wants to communicate a simple message
to the user but at the same time, the user has to acknowledge that he has read the message.
20. The graphics class in Java allows us to draw various shapes such as rectangle, circles and
polygons. It also helps us to display images.
21. Border layout divides the panel into five regions: north, south, east, west and center.
22. Grid layout divides the screen into specified rows and columns. Grid layout is useful when
we want to create UI similar to windows desktop, wherein icon is symmetrically placed in
the screen.
23. Flow layout is the default layout. If you do not specify any layout using the
setLayout()
method then ...