Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dropdown Selected

 
Jinal Prakas Shah
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a very simple question. I'm writing this iteration code. Here is the code

I have a HashSet variable named myStates which contains the stateid which is the same Id above. Now if that id occurs in the HashSet what I want is to show it selected. Can you tell me How to do this?

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic