• Post Reply Bookmark Topic Watch Topic
  • New Topic

HighLighting JList items  RSS feed

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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!