#### Description of this paper

##### import java.awt.

**Description**

solution

**Question**

import java.awt.*;import java.awt.event.*;import javax.swing.*;public class StateIncome extends JFrame implements ActionListener;private JTextField salary = new JTextField(20), interest = new JTextField(20);deductions = new JTextField(20), exemptions = new JTextField(20);taxWithheld = new JTextField(20), refund = new JTextField(20);private JButton compute = new JButton("Compute Refund");public StateIncome();super ("Calculate Your State Refund");setSize(350,250);setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);Container contentPane = getContentPane();contentPane.setLayout(new GridLayout(7,2));add(new JLabel("Salary Income: ")),add(salary);add(new JLabel("Interest Income: ")),add(interest);add(new JLabel("Itemized Deductions: ")),add(deductions);add(new JLabel("Exemptions: ")),add(exemptions);add(new JLabel("Tax Withheld: ")),add(taxWithheld);add(new JLabel("")),add(compute);add(new JLabel("Refund: ")),add(refund);refund.setEditable(false);compute.addActionListener(this);@Override;public void actionPerformed(ActionEvent event);double grossIncome = Double.parseDouble(salary.getText())+Double.parseDouble(interest.getText());double taxableIncome = grossIncome - Double.parseDouble(deductions.getText())- (Double.parseDouble(exemptions.getText())* 2700);double taxOwed = 0;public static void main(String[] args);StateIncome frame = new StateIncome();frame.setVisible(true);The third programming project involves writing a program to calculate the terms of the following sequence of numbers: 0 1 2 5 12 29... where each term of the sequence is twice the previous term plus the second previous term. The 0 th term of the sequence is 0. The interface to the program should be a GUI that looks similar to the following;The pair of radio buttons allows the user to choose whether an iterative or recursive method is used to compute the term of the sequence. When the user enters a value for n and then clicks the Compute button, the n th term of the sequence should be displayed in the Result field. The Efficiency field should contain the number of calls to the recursive method when the recursive option is chosen and the number of iterations of the loop when the iterative option is selected.;The Iterative radio button should be initially set to selected.;You should run your program with values for n from 0 to 10 and record and graph the value of the Efficiency field for both the iterative and recursive options. The graph should be contained in a Word document that also contains a brief explanation of the observed results. That document must also be submitted with the code for this project.;This is what i need thanks

Paper#71458 | Written in 18-Jul-2015

Price :*$27*