Private Sub getSelectedItem As String
Dim JO As JavaObject = tableview1
' get the selectionmodel
Dim JOSelectionModel As JavaObject = JO.RunMethod("getSelectionModel", Null)
' get the column
Dim JOGetSelectedCells As JavaObject = JOSelectionModel.RunMethod("getSelectedCells", Null)
Dim JOGet0 As JavaObject = JOGetSelectedCells .RunMethod("get", Array As Object(0))
Dim cellIndex As Int = JOGet0.RunMethod("getColumn", Null)
Log("Cell Index:" & cellIndex)
'
Dim getSelectedItem As String = JOSelectionModel.RunMethod("getSelectedItem", Array As Object(cellIndex))
Log(getSelectedItem )
End Sub