There have been several attempts made at this, like
LabVNC or AppletVIEW, but I believe non of them has been updated recently, and I don't think they gurantee perfect results. Also, you may need to play around with their code for it to work as a stand alone Java applet which can be embedded into a browser window. Try looking at them and see if they help you.
___________________
Try to take over the world!