+ Start a Discussion

Visualforce page with OOB style Sharing

I need to build a VF page which has two coulms as shown in the attached image. Something like we have as OOB style sharing. 
I'll need to select Public Groups or Roles or Roles & Subordinates based on which the left column will be populated will all the public groups if public group is selected. and then add /remove button to add and remove to & from the right column.
User-added image

Any idea how this can be build with Visualforce? Code samples if any will be appeciated.
This should help: http://salesforce.stackexchange.com/questions/1264/how-do-i-build-a-multi-select-picklist-ui-in-visualforce