Expand|Select|Wrap|Line Numbers
- JOptionPane.showMessageDialog(null,"Oringinal Balance = $" + recieveAmount +
- "\nPayment#" + x + "\nMonthly Payment$" + fixdecimal.format(payment)+
- "\nRemaining Balance $" + fixdecimal.format(remainBalance) + "\nInterest Paid $" +
- fixdecimal.format(interestout), "Payment History", JOptionPane.PLAIN_MESSAGE);
- }
- //adds all 10 panels together
- this.add(mainpanel);
- //set see the frame
- setVisible(true);
- }
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\src\mortgagecalculator7\Main.java:176: cannot find symbol
symbol : method add(javax.swing.JPanel)
location: class mortgagecalculator7.Main
this.add(mainpanel);
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\src\mortgagecalculator7\Main.java:179: cannot find symbol
symbol : method setVisible(boolean)
location: class mortgagecalculator7.Main
setVisible(true);
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\src\mortgagecalculator7\Main.java:213: cannot find symbol
symbol : method format(double)
location: class java.lang.Object
g.drawString(paymentFormat.format(amount), 0,(int)y);
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\src\mortgagecalculator7\Main.java:388: cannot find symbol
symbol : method format(double)
location: class java.lang.Object
"\nPayment#" + x + "\nMonthly Payment$" + fixdecimal.format(payment)+
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\src\mortgagecalculator7\Main.java:389: cannot find symbol
symbol : method format(double)
location: class java.lang.Object
"\nRemaining Balance $" + fixdecimal.format(remainBalance) + "\nInterest Paid $" +
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\src\mortgagecalculator7\Main.java:390: cannot find symbol
symbol : method format(double)
location: class java.lang.Object
fixdecimal.format(interestout), "Payment History", JOptionPane.PLAIN_MESSAGE);
6 errors
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\nbproject\build-impl.xml:413: The following error occurred while executing this line:
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\nbproject\build-impl.xml:199: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)
//Decaring buttons, text fields, and labels
private JButton calculate;
private JButton exit;
private JButton calc;
private JTextField enterAmount;
private JTextField enterInterest;
private JTextField enterMonth;
private JLabel loan;
private JLabel interest;
private JLabel mRate;
private JLabel blankspace;
private JLabel data;
private JLabel data1;
private JLabel data2;
private JRadioButton term7;
private JRadioButton term15;
private JRadioButton term30;
private Object paymentFormat;
private boolean drawn;
private double receiveAmount;
private int receiveTerms;
private Object fixdecimal;
private Object frame;
private boolean setVisible;
private int format;