java applet source code
Posted on 2000-01-21
I am writing java applet which i will upload it to a webpage on net. i face with a problem .i don't know what is the source code for it.
I will add a button,and when i press it, it display another frame or link to another java applet. Inside the frame, there will have a button that can be pressed until 16 times,and when it is pressed the label on the button will change,and every time a image file( a.gif) will display beside the button, meaning that when the button is pressed, label on button will change and display a image file.
Example, i want the label on the button to display the number 0 to 16,and for every number on the button, there will also have 17 different image files will display with the response of the button.
Every time , the next image file display (at the same position for all the image file display), the previous one will change into the next image file.
At first, the label of the button is 0 and there also a image file display there.
can i do that?...pls tell me the java applet source code to write like that.