This simple university project implements two indipendent lift inside a building. We used a java applet with swing libraries. This is a good example of the use of java swing library in a applet. The code isn’t mantained, so there’s no work still on it (I made it on 2002).
To See the applet in action, you can download this zip archive
You can download the source code and the applet class:
src_monitor
src_semafori
ascensori_monitor
Monitor java applet, a lift example of using Swing libraries on a monitor concurrency scenario