Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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