Draw line define point on circle

Draw line, define point on circle

$$$APPLET

Applet Draw line, define point on circle