As I said, I have a Java desktop application. I have a JList in the interface and I have some content in this list Amendments to custom audiences I have implemented.
In a list of listeners, it repeats through all the objects and completes some tasks that can take some time. I would like to show the user that item I am currently on. For starters, I used to try again through elements in the list and just setting the selected index and then calling again (I do these 2 operations for each item). What happens is that there is no change in interface during this recurring event, when the last item is marked as selected
Has anyone indicated to me why this was happening And how can a change in selection in a jellist?
Thank you, Mihala
To update your GUI (A) Responsible are doing their time-consuming tasks in a single thread.
Take a look at this problem to understand, and for examples of how to fix it.
Comments
Post a Comment