Write a GUI in Java that will let the user sample borders. Include a menu named Borders that offers three options—beveled border, etched border, and line border—as submenus with the following options: • Beveled-border submenu options: raised or lowered. • Etched-border submenu options: raised or lowered. • Line-border submenu options: small, medium, or large. Each of these options should be a submenu with three color options: black, red, and blue.Put the borders around a label containing text that describes the border, such as Raised Border, Lowered Etched Border, and so forth. Fix the highlight and shadow colors for the etched-border options to whatever colors you like, and make the small line border 5 pixels wide, the medium one 10 pixels wide, and the large one 20 pixels wide.
Write a GUI in Java that will let the user sample borders.
Include a menu named Borders that offers three options—beveled border, etched border, and line border—as submenus with the following options:
• Beveled-border submenu options: raised or lowered.
• Etched-border submenu options: raised or lowered.
• Line-border submenu options: small, medium, or large.
Each of these options should be a submenu with three color options: black, red, and blue.Put the borders around a label containing text that describes the border, such as Raised Border, Lowered Etched Border, and so forth.
Fix the highlight and shadow colors for the etched-border options to whatever colors you like, and make the small line border 5 pixels wide, the medium one 10 pixels wide, and the large one 20 pixels wide.
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 4 images