473,804 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cannot find symbol symbol : method

11 New Member
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\Documen ts\NetBeansProj ects\feedreader-suite\Mortgage Calculator6\bui ld\classes
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;
Apr 9 '10 #1
4 5118
LadiPrather
11 New Member
Thanks for any help or the right direction. I am still working on it.
Apr 9 '10 #2
LadiPrather
11 New Member
Will someone point me in the right direction, I am still trying to get it to run.
Apr 11 '10 #3
LadiPrather
11 New Member
only have this one error now.
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
Apr 11 '10 #4
LadiPrather
11 New Member
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.addActionL istener(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
28829
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 System.out.println(i + ": " + sqrt(4));
1
4635
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 com.sun.j3d.utils.geometry.*; import javax.media.j3d.*; import javax.vecmath.*;
1
4932
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 javax.servlet.*; import javax.servlet.http.*; import com.wrox.proj2ee.ch12.*// The requesthandlers interface in this package. public class ShowRecordRequesthandler implements RequestHandler
2
5477
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 javax.swing.*; public class imagemanip
1
3601
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 symbol : method connect(java.lang.String,java.lang.String) location: class javax.mail.Transport t.connect(SMTP_AUTH_USER, SMTP_AUTH_PWD); ^ 1 error
4
5115
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 light for this error on how to rectify it. C:\Documents and Settings\wei cheng\Desktop\aa1\test.java:122: cannot find symbol symbol : method objCompare(java.lang.Object,Person) location: class test if...
2
2986
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: cannot find symbol symbol : constructor Pay() location: class Pay Pay Emp2 = new Pay();
2
6667
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) Location: class Week5MortgageGUI Week5MortgageLogic allint = logic.allInterest(amount, term, rate); Week5MortgageGUI.java:152:cannot find symbol symbol: method allInterest(double,double,double) Location: class Week5MortgageGUI
10
13108
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 source files to C:\Users\Tommy\Desktop\build\classes C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:14: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API...
3
3194
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 symbol : class device location: class devtestdrive device d1=new tv(); ^ devtestdrive.java:5: cannot resolve symbol symbol : class tv
0
9714
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10599
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10090
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9173
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7635
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.