Using Netbeans 6.0 I've:
1. Created a new Java application named CalculatorTest
2. Imported Calculator.jar within the projects, under the Libraries.
Within the library there are two class files named:
MyCanvas.class
SysCalculator.class
I tried to instantiate the SysCalculator, unsuccessfully. Anyone encountered similar problems?
<code>
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package calculatortest;
/**
*
* @author Administrator
*/
//import ??
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
SysCalculator myCalc = new SysCalculator(); //Error
}
}
</code>
Compile error:
symbol : class SysCalculator
location: class calculatortest.Main
SysCalculator myCalc = new SysCalculator();
C:\Documents and Settings\Administrator.SERVER02\My Documents\NetBeansProjects\CalculatorTest\src\calc ulatortest\Main.java:19: cannot find symbol
symbol : class SysCalculator
location: class calculatortest.Main
SysCalculator myCalc = new SysCalculator();
2 errors
BUILD FAILED (total time: 0 seconds)