A sample Java implementation demonstrating the Entity/Boundary/Controller design paradigm.
The code for this tutorial can be found at https://github.com/heineman/tangram.
Create CompletePolygon controller and update menu items (0 min, 21 sec)
Code:Stand-alone zip file
(sample.3)
or switch to sample.3-branch in git repository