Question
Write a GUI that will let the user sample several types of borders using a drop-down menu. Options include beveled (raised or lowered), etched (raised
Write a GUI that will let the user sample several types of borders using a drop-down menu. Options include beveled (raised or lowered), etched (raised or lowered), and line (small, medium, or large) borders. For line borders, provide a submenu which allows the user to select the border color (black, red, or blue). Add a text field identifying the type of border in the center of the window Put the borders around a JLabel conaining text that describes the border, such Raised Beveled Border, Lowered Etched Border" A sample window might look like the following on start-up:
If the user clicks on the Borders drop-down menu option (in the upper-left part of the frame), and then selects the Etched option, the screen might show a nested menu:
Instead of selecting an Etched border, if the user selects Line, then any of the suboptions (Small, Medium, or Large) for Line borders will bring up a sub-submenu asking for the color of the border (Black, Red, or Blue):
This might be the result of the user selecting Line Small Blue.
Submit listings for all of your class(es), and PrintScreens showing several different mmenu options, sub-menus, and the resulting borders.
Use different fonts and font sizes for each type of button. For example, use Times Roman for a beveled border, use Century Gothic for an etched border, and use Broadway for a line border
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started