[JList] How to get text from an index
int e_index = somthing.getSelectedIndex();
e_textbox.setText(somthing.getSelectedIndex();
I tried that but replaced int with string but it seems I have it wrong. I don't think there is a way to grab the text with getSelectedIndex. How would i do that ^^^.

