What visual effect would result by changing the horizontal and vertical gaps on the border layout used in the LayoutDemo program? Make the change to test your answer.
What will be an ideal response?
The panel used to display the buttons has a green background, but no green is visible in the display. By default, there are no horizontal or vertical gaps between the areas of a border layout. These gaps can be set with an overloaded constructor or with explicit methods of the BorderLayout class. If the gaps are provided, the underlying (green) panel shows through.
You might also like to view...
Photographs in .gif format can be uploaded to your SharePoint profile page
Indicate whether the statement is true or false
Which of the following is used to ensure information integrity?
a. Auditing b. Digital signatures c. Backups d. Passwords
Besides Excel, which program is often used to view the contents of a CSV file?
A. Publisher B. Notepad C. Word D. Outlook
The ____ command is used to fine tune the X server's video modes.
A. startx B. xvidtune C. SuperProbe D. vncserver