Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HighLighting JList items

wip siva
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a frame.from this by clicking one menuoption i just popsup a JDialog.on JDialog i have a JList.i am selecting items from this and storing in a vector.i am passing this vector to that frame.when i am clicking menu option second time again i am passing to the dialog class and JDialog
should be shown with highlighting the previously selected items
with diff color or setting an image.
now i can able to pass the selected items(vector) to frame class
next time clicking i am passing those items to dialog class.
till that i did.second time loading those items should be highlighted.

thanx in advance
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic