Link to home
Start Free TrialLog in
Avatar of rufustmac
rufustmac

asked on

Trouble with Java label and other results not displaying properly

I am having a hard time with a java label displaying something that isn't anywhere in my code that I am able to find and it's driving me nuts.  I'm wondering if it's something weird with the compiler because I had the class HedgeYourBetUsingFile.java and then I renamed that file to HedgeYourBetUsingFile2.java and recompiled.  I changed a few minor things including adding a label for "best score" instead of just the previous score played.  However, regardless of how I change the "best score" label it continues to show up as "previous score" even though I don't have that text anywhere in my code.  Also the "best score" portion is not working and it is still functioning like it is retrieving the "previous score" from the .dat file rather than the highest value.  Is it possible some how that the compiler and/or the .class file is stuck on the previous version?  I just can't think of any other reason this would happen.  Any help is appreciated.
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

please post your source code
ASKER CERTIFIED SOLUTION
Avatar of Ravi Kalla
Ravi Kalla
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial