Hypothetically, say i want to know how may times anyone has clicked a button in an applet.
NOTE: this is not what i actually want to do but it is a good example.
more specifically i have a text file in a jar, along with classes, called clicks.txt. every time the button is clicked take the single number in the file add one to it and rewrite the new number back to the file.
is there any way to make something like this work?
this is what i am getting with a small test application: