Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in java 1 2 . 3 ( Running the Welcome App ) In Section 1 2 . 4 , you built the Welcome app s

in java
12.3(Running the Welcome App) In Section 12.4, you built the Welcome apps GUI and previewed it using Scene Builders Show Preview in Window option. Create an Application subclasslike the one shown in Section 12.5.4to load and display Welcome.fxml in a JavaFX window.
12.1(Addition App) Create a JavaFX version of the addition program in Fig. 2.7. Use two TextFields to receive the users input and a Button to initiate the calculation. Display the results in a Label. Since TextField method getText returns a String, you must convert the String the user enters to an int for use in calculations. Recall that the static method parseInt of class Integer takes a String argument representing an integer and returns the value as an int.
12.2(Scrapbooking App) Find four images of famous landmarks using websites such as Flickr. Create an app similar to the Welcome app in which you arrange the images in a collage. Add text that identifies each landmark. You can use images that are part of your project or you can specify the URL of an image thats online.
12.3(Enhanced Tip Calculator App) Modify the Tip Calculator app to allow the user to enter the number of people in the party. Calculate and display the amount owed by each person if the bill were to be split evenly among the party members.
12.4(Mortgage Calculator App) Create a mortgage calculator app that allows the user to enter a purchase price, down-payment amount and an interest rate. Based on these values, the app should calculate the loan amount (purchase price minus down payment) and display the monthly payment for 10-,20- and 30-year loans. Allow the user to select a custom loan duration (in years) by using a Slider and display the monthly payment for that custom loan duration.
12.5(College Loan Payoff Calculator App) A bank offers college loans that can be repaid in 5,10,15,20,25 or 30 years. Write an app that allows the user to enter the amount of the loan and the annual interest rate. Based on these values, the app should display the loan lengths in years and their corresponding monthly payments.
12.6(Car Payment Calculator App) Typically, banks offer car loans for periods ranging from two to five years (24 to 60 months). Borrowers repay the loans in monthly installments. The amount of each monthly payment is based on the length of the loan, the amount borrowed and the interest rate. Create an app that allows the customer to enter the price of a car, the down-payment amount and the loans annual interest rate. The app should display the loans duration in months and the monthly payments for two-, three-, four- and five-year loans. The variety of options allows the user to easily compare repayment plans and choose the most appropriate.
12.7(Miles-Per-Gallon Calculator App) Drivers often want to know the miles per gallon their cars get so they can estimate gasoline costs. Develop an app that allows the user to input the number of miles driven and the number of gallons used and calculates and displays the corresponding miles per gallon.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions