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\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\src \mortgagecalcul ator7\Main.java :176: cannot find symbol
symbol : method add(javax.swing .JPanel)
location: class mortgagecalcula tor7.Main
this.add(mainpa nel);
C:\Users\Diane Prather\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\src \mortgagecalcul ator7\Main.java :179: cannot find symbol
symbol : method setVisible(bool ean)
location: class mortgagecalcula tor7.Main
setVisible(true );
C:\Users\Diane Prather\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\src \mortgagecalcul ator7\Main.java :213: cannot find symbol
symbol : method format(double)
location: class java.lang.Objec t
g.drawString(pa ymentFormat.for mat(amount), 0,(int)y);
C:\Users\Diane Prather\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\src \mortgagecalcul ator7\Main.java :388: cannot find symbol
symbol : method format(double)
location: class java.lang.Objec t
"\nPayment# " + x + "\nMonthly Payment$" + fixdecimal.form at(payment)+
C:\Users\Diane Prather\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\src \mortgagecalcul ator7\Main.java :389: cannot find symbol
symbol : method format(double)
location: class java.lang.Objec t
"\nRemainin g Balance $" + fixdecimal.form at(remainBalanc e) + "\nInterest Paid $" +
C:\Users\Diane Prather\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\src \mortgagecalcul ator7\Main.java :390: cannot find symbol
symbol : method format(double)
location: class java.lang.Objec t
fixdecimal.form at(interestout) , "Payment History", JOptionPane.PLA IN_MESSAGE);
6 errors
C:\Users\Diane Prather\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\nbp roject\build-impl.xml:413: The following error occurred while executing this line:
C:\Users\Diane Prather\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\nbp roject\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;