Okay, so I'm having trouble with the scope. Guess I'll be hitting the books again. Thanks for the help.
Type: Posts; User: thudgun
Okay, so I'm having trouble with the scope. Guess I'll be hitting the books again. Thanks for the help.
It compiles with these errors:
JAR export finished with warnings. See details for additional information.
Exported with compile warnings: Coordinate Calculator/src/CoordinateCalculator.java
...
I believe it's within scope, declared public imported the package... I've tried both with and without full name 'Program.displayPanel.object1a.getText();'
Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problem:
displayPanel cannot be resolved to a variable
displayPanel is defined in the startProgram() method of the...
I'm trying to learn the ins and outs of Classes and especially Objects, but I'm having trouble accessing the variables between classes.
So far, I've got the main() starting the ball rolling by...