posted 12 years ago
I thought I had this one working, but seems I've honked it up.
I'm trying to popup a window that displays the list of available players. The user clicks a name on the list, some text fields on the right fill in with the selected plyaer's info. This all works fine. The getSelectedIndex method works fine for those text fields. But I can't seem to return that index when the user clicks the Select button. Seems like it's something really simple I'm overlooking.
Also, it seems like the PlayerPicker method returns a value to the parent before the input is given. It pops the window up, but then it doesn't wait for the return from initGUI. I thought setting modal to true would fix that.