Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Java code please a 1. Create a project called Favorite Restaurants that displays 3 of your most favorite restaurants when a button is clicked.
In Java code please
a 1. Create a project called "Favorite Restaurants" that displays 3 of your most favorite restaurants when a button is clicked. The application's form should contain three labels containing three of your favorite restaurants and two buttons named as "Show" and "Exit". When it first runs only the buttons should be visible, but the labels should not be. [Hint: setting the "visible" property of a control to "false" makes it invisible until you set the property value to "true".] Once the "Show" button is pressed, the form should show three restaurants in three separate labels. When "Exit" button is clicked the application should close. The detailed property specifications are as follows The button that displays favorite activities should be named btnShow. Its text should be "Show" The button that closes the application should be named btnExit. Its text should be "Exit". Type the following line of code as part of button "Exit" click event Handler. Me.close() The form should have three label controls for each of your favorite activities. The labels should be named as IblResOne, IblResTwo and IblResThree. The label's font property should be set to Times New Roman, bold, 14 point. The label's Text Align property should be set to Middle Center. The form's title bar should read "Favorite Restaurants" Think about how to make the labels not visible at first and then make them appear when the "Show" button is pressed 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