This is my attempt to try writing an applet that uses drag & drop to build roads. See this post about Locomotion for my motivation.
The source code is here. I’m not much of a Java programmer, so be prepared to laugh or cry at my coding style.
Footnote: getting an applet to work across browsers is a big pain. I used the code from here but I don’t know how many systems it works on.