Write a GUI application that prints out "Hello!" in either: English, French, or Spanish. When the user selects another language, the greeting shown in the greeting area should change. Your GUI should look like the interface shown below:
You should submit two classes for this exercise:
? HelloWorldFrame
? HelloWorldApp
The HelloWorldFrame should extend JFrame and include the GUI code. The HelloWorldApp should include a main method that creates a HelloWorldFrame and displays it.
INVESTMENT CALCULATOR
Create the following GUI that allows a user to calculate the value of an investment after a certain number of years with monthly compound interest.
The GUI should allow the user to enter the initial amount of the investment, the number of years (displayed as a drop down list with a choice of 5, 15, or 30 years), and the annual interest rate. The future value is calculated with the following formula:
( )
Here is an example showing how to use the future value equation:
? Investment amount = 10000
? Number of Years = 5
? Annual Interest Rate = 3%
( )
You should submit two classes for this exercise:
? InvestmentFrame
? InvestmentApp
The InvestmentFrame should extend JFrame and include the GUI code. The InvestmentApp should include a main method that creates an InvestmentFrame and displays it.