Search:

Type: Posts; User: thudgun

Search: Search took 0.23 seconds.

  1. Replies
    9
    Views
    688

    Re: Accessing Variables Between Classes

    Okay, so I'm having trouble with the scope. Guess I'll be hitting the books again. Thanks for the help.
  2. Replies
    9
    Views
    688

    Re: Accessing Variables Between Classes

    It compiles with these errors:


    JAR export finished with warnings. See details for additional information.
    Exported with compile warnings: Coordinate Calculator/src/CoordinateCalculator.java
    ...
  3. Replies
    9
    Views
    688

    Re: Accessing Variables Between Classes

    I believe it's within scope, declared public imported the package... I've tried both with and without full name 'Program.displayPanel.object1a.getText();'
  4. Replies
    9
    Views
    688

    Re: Accessing Variables Between Classes

    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...
  5. Replies
    9
    Views
    688

    Accessing Variables Between Classes

    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...
Results 1 to 5 of 5