two hours to figure this out??
“highscore.txt” should be in your project’s base directory, not in any of the directories that NetBeans has created for you. In your case, it should be in:
C:\Documents and Settings\Collin\My Documents\NetBeansProjects\Yahtzee
Alternatively, you can find out where your file points to in your Java code:
File file = new File("highscore.txt");
This should output the system-dependent, unique path to where the virtual machine believes the file is, so you can see where the discrepancy is.
Jubjub is an iconic programming environment developed in Robotics Institute, CMU. It helps beginner students to build an understanding of programming concepts and a mental model for the structure of procedural languages.
I designed the graphics for Erik Pasternak, the developer of jubjub.