                    
                }
            }
        });

    }
    
    public int getSelectedItemIndex()
    {
        int itemIndex = -1;
        itemIndex = listView.getSelectionModel().getSelectedIndex();
        return itemIndex;
    }
}
