Question: In Chapter 14, you created an interactive GUI version for Sammys Seashore Rentals. Now, rewrite the program using JavaFX and Scene Builder that allows the
In Chapter 14, you created an interactive GUI version for Sammy’s Seashore Rentals. Now, rewrite the program using JavaFX and Scene Builder that allows the user to enter a rental time in hours into a text field. Also, allow the user to choose one equipment type to rent from a group of seven choices. The rental fee is $40 per hour for a personal watercraft or pontoon boat; $20 per hour for a rowboat, canoe, or kayak; and $7 per hour for a beach chair or umbrella. Let the user add an equipment lesson for an extra $5. Use a CSS file to design an interface to reflect the business. Display a message that indicates all the details for the rental, including the total price. Save the project as FXSammysSeashore.
Step by Step Solution
3.58 Rating (148 Votes )
There are 3 Steps involved in it
program code import javaxswing import javaawt import javaawtevent implement item and action listener public class JSammysSeashore1 extends JFrame implements ItemListener ActionListener check box item ... View full answer
Get step-by-step solutions from verified subject matter experts
