Create radio buttons to accept the desired tip percentage
.
Use a text field to accept a double that represents the amountof the sale.
Use an uneditable text field to show the calculated tipamount.
Use parseDouble to convert the input to a double to use in thecalculation.
2.2. GUI Format
Use the component layout shown below for this program.
Use the default FlowLayout manager for the GUIcomponent arrangement.
Using the default layout manager will not require a layoutstatement.Use an inner class for
PayPal Gateway not configured
PayPal Gateway not configured