Go to a different applet:
Bank Account Applet
This applet is the beefed up version of lab 6 and lab 7 (part 1) for CS 142. Yeah, I know, I have too much time...
What can be shown from this example though is objects as a unit of portable code. The only modification I had to make to my BankAccount object to make this work was to change the toString() method so that it didn't use the newline character.
Report bugs and give suggestions here.
These applets were developed by Matthew Reeder. Please get my permission before using these applets on your own site.
(And trust me, it will be easier if I help you use them :-p)