In this page I use Javascript together with my Java Applet "OilLine.java". To see the source code that draws the pool table, Look at the applet source code here. To see how I use javascript to compute the angle and send the user input to the applet, select "View Page Source" from your browser's menu. My e-mail adress is cct@ktb.netIf you cannot see the pool table, make sure "Enable Java" and "Enable JavaScript" are checked in your browser (Choose Network Preferences from the Options Menu of Netscape 4.5, and choose the Language Tab) Not all versions of Internet Explorer can understand this script.