Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Unable to select/deselect items in a JList while it is performing some task

832023Jan 28 2011 — edited Jan 28 2011
Hi,
I am using JList to show some data in JScrollPane.If I am selecting some items from the JList to perform some task I am unable to deselect them or select any other items from the JList until the completion of the task .

I want to deselect selected items or select the other items to perform some other task before completion of the 1st task.

I am using swing,awt in my code to develop the GUI.I tried by creating child thread todeslect the items,but unable to deselect.

Can any one help me how can I use the JList items to perform some other task before comletion of the 1st task.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 25 2011
Added on Jan 28 2011
1 comment
321 views