473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cannot find symbol symbol : method

These error say there is not symbols, I have changed them some many times till I am lost. Please someone help.
Expand|Select|Wrap|Line Numbers
  1.  JOptionPane.showMessageDialog(null,"Oringinal Balance = $" + recieveAmount +
  2.                            "\nPayment#" + x + "\nMonthly Payment$" + fixdecimal.format(payment)+
  3.                            "\nRemaining Balance $" + fixdecimal.format(remainBalance) + "\nInterest Paid $" +
  4.                            fixdecimal.format(interestout), "Payment History", JOptionPane.PLAIN_MESSAGE);
  5.                       }
  6.      //adds all 10 panels together
  7.         this.add(mainpanel);
  8.  
  9.         //set see the frame
  10.         setVisible(true);
  11.     }
  12.  
Compiling 3 source files to C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage Calculator6\build\classes
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;
Apr 9 '10 #1
4 5098
Thanks for any help or the right direction. I am still working on it.
Apr 9 '10 #2
Will someone point me in the right direction, I am still trying to get it to run.
Apr 11 '10 #3
only have this one error now.
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
Apr 11 '10 #4
I now have it working just not info just and empy box. Do I need to add something like this to have it show. data.addActionListener(this); will this put the informaion in the box
Apr 11 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

15
by: Bjorn Jensen | last post by:
Hi! An beginner question: Pleas help me with this (-: Error (the arrow points on the s in sqrt) ===== tal.java:6: cannot find symbol symbol : method sqrt(int) location: class tal...
1
by: vsp15584 | last post by:
Hii..i use the coding as below :- import java.applet.applet; import java.awt.*; import com.sun.j3d.utils.applet.mainframe; import com.sun.j3d.utils.universe.*; import...
1
by: Shiva48 | last post by:
Thanks to Gannon11 and ro351988- Moderator. I give below the complete Java file and pls help me to rectify the errors. package com.wrox.proj2ee.ch10.app; import java.io.*; import...
2
by: blkcygnus | last post by:
im trying to learn simple image processing-but i cant even get the thing to draw onscreen! heres the code import java.awt.*; import java.awt.geom.*; import java.awt.image.*; import...
1
by: jank | last post by:
hi, I wrote sending mass email program in java. If i try to compile using ant compiler, i am getting this error. c:\mail\src\com\mail\action\SendMail.java:125: cannot find symbol ...
4
by: jingchua | last post by:
Hi, can anyone help out here???? I have the below error after compling the file. Any idea what is wrong in the declaration that was done in the above code??? Appreciate any help on shedding some...
2
by: jazzyme2 | last post by:
New to Java. Working on this and ran into this problem. Any clues? java:42: cannot find symbol symbol : constructor Pay() location: class Pay Pay Emp1 = new Pay(); ^ 43:...
2
by: karinmorena | last post by:
I'm having 4 errors, I'm very new at this and I would appreciate your input. The error I get is: Week5MortgageGUI.java:151:cannot find symbol symbol: method allInterest(double,double,double)...
10
by: CodeNoob | last post by:
please help been working on a project got it down to 5 errors from 100 now i have no idea what to do. Errors: init: deps-jar: Created dir: C:\Users\Tommy\Desktop\build\classes Compiling 306...
3
by: Sindhu Rani | last post by:
i hav created 3 classes in 3 different files. am gettin an error durin compilation. wat shud i do??? C:\s\source>javac -d ..\classes devtestdrive.java devtestdrive.java:5: cannot resolve symbol...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.