Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

Elizabeth Lopez-Armenta

Greenhorn
+ Follow
since Feb 28, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Elizabeth Lopez-Armenta

Norm Radder wrote:The error message says the jTestfield1 variable is defined as an Object and the Object class does not have a method named getText()

Did you post the current code?  I do not see where jTestField1 is defined in the posted code.  The IDE thinks it is defined to be an Object???



@Norm Radder this is my current code
3 months ago

Campbell Ritchie wrote:That is the wrong error message. There should be a red mark somewhere against your code; hover your moue over that and you should see an error message.




3 months ago

Norm Radder wrote:run:
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: <any>
at GymMembershipAndDiscounts.main(GymMembershipAndDiscounts.java:38)
C:\Users\elopez\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1
BUILD FAILED (total time: 1 second)
.




3 months ago

Elizabeth Lopez-Armenta wrote:

Elizabeth Lopez-Armenta wrote:@Norm Radder i use NetBeam IDE

3 months ago

Elizabeth Lopez-Armenta wrote:Your program must contain a method that displays the general information about the fitness center and its charges, a method to get all the necessary information to determine the membership cost, and a method to determine the membership cost. Use appropriate parameters to pass information in and out of a method.

3 months ago
@Liutauras Vilda... I'm not sure why it won't compile.
3 months ago
Your program must contain a method that displays the general information about the fitness center and its charges, a method to get all the necessary information to determine the membership cost, and a method to determine the membership cost. Use appropriate parameters to pass information in and out of a method.

3 months ago