Rob Camick wrote:I don't know why the code in the text book doesn't work. All I know is that it is wrong.
I showed you the proper way to create the applet and solve your problem.
I suggest you can learn Swing basics from the Swing tutorial.. There are plenty of working examples that are better structured then the code from the book.
As already mentioned you are wasting time learning how to use applets. Applets are not supported in many browsers any more because of security risks.
thanks for your help, but i'm taking
Java Course at the uni and the uni decided to choose that book for the course, and they insist doing everything 'by the book'
Cambell ritchie wrote:
Welcome to the Ranch
Please provide more details about the book; I cannot find anything under JSS
thanks, the book called Java Software Solutions, i will upload an image of the code.