In Urgent Need Of Kind Assistance Please!

Hi! i am currently trying to write a code whereby when i click a button it would save a value of lets say +1 in a text file and when i press another button it would display +2 in the same text file and the total of which would be displayed on a label of the same page. the label would continuously update the figure as buttons are pressed.

can anyone help me please?

[379 byte] By [modano9a] at [2007-10-1 7:12:35]
# 1
oops i forgot one more thing... i'm trying to create an application not an applet
modano9a at 2007-7-9 18:19:18 > top of Java-index,Administration Tools,Sun Connection...
# 2
You'll need to learn to use Swing classes to create the GUI. The Java Tutorial is a good source. This example application is basically what you are wanting to do: http://java.sun.com/docs/books/tutorial/uiswing/learn/example2.html
ChuckBinga at 2007-7-9 18:19:18 > top of Java-index,Administration Tools,Sun Connection...
# 3
hmmmm i was told that i can create a simple button and a simple label and attach a counter to the program... how do i do that?
modano9a at 2007-7-9 18:19:18 > top of Java-index,Administration Tools,Sun Connection...
# 4
You'll need to ask that question of the person who told you "that i can create a simple button and a simple label and attach a counter to the program", then.What I provided is the way it's done in Java - the tutorial example does exactly what is quoted.
ChuckBinga at 2007-7-9 18:19:18 > top of Java-index,Administration Tools,Sun Connection...