Hi, I am trying to let my program call another class: A calculator, and I do not know what I am doing wrong, because I keep getting the same error. I want to let the class run that is a calculator when you click on a button. Help please.
The part of the program:
private void SakrekenaarMouseClicked(MouseEvent e)
{
Calculator cal = new Calculator("Java Swing Calculator");
}
The error:
Lone.java:439: cannot find symbol
symbol : constructor Calculator(java.lang.String)
location: class Calculator
Calculator cal = new Calculator("Java Swing Calculator");
^
PS: please tell my how to paste code in the proper way!

