Click to See Complete Forum and Search --> : basic breakthrough


jim enright
June 11th, 2006, 04:37 PM
have read through "teach yourself java in 24 hours" and have done the excerises. have written a simple java program in which a button and
a text field appear in a frame - clicking on the button populates the
text field.

what i have not gotten from the book is how to do the same
thing with an applet that is embedded in an html.

in other words just looking for the code for some basic example
where a java applet is responding to click events.

appreciate any info on where to get that.

thanks - j

keang
June 12th, 2006, 11:08 AM
I suggest you read a java applet tutorial such as:

http://java.sun.com/docs/books/tutorial/deployment/applet/index.html

There's loads of help available if you use google and search for something like "tutorial java applet"

jim enright
June 13th, 2006, 03:15 PM
thanks for the tip - was able to look at
http://realapplets.com for some basic examples

case closed