There are various threads about how to select one or more items from a list box. However, I do not know if there is any specific code to remove the selections that have been made.

From a manual perspective, I can hold down the control key and click the selected items to remove the selection. Would this be the same method I would have to do programmatically?

I am coding RFT via Visual Studio but I would also welcome any Java solutions, as I can translate it.