Posted By

jrphelps on 10/25/07


Tagged

states java Choice


Versions (?)

add U.S. States to a Choice widget in Java


 / Published in: Java
 

Does not include any of the U.S. properties such as Guam, Virgin Islands, and Puerto Rico.

  1. chState.add(" ");
  2. chState.add("Alabama");
  3. chState.add("Alaska");
  4. chState.add("Arizona");
  5. chState.add("Arkansas");
  6. chState.add("California");
  7. chState.add("Colorado");
  8. chState.add("Connecticut");
  9. chState.add("Delaware");
  10. chState.add("Florida");
  11. chState.add("Georgia");
  12. chState.add("Hawaii");
  13. chState.add("Idaho");
  14. chState.add("Illinois");
  15. chState.add("Indiana");
  16. chState.add("Iowa");
  17. chState.add("Kansas");
  18. chState.add("Kentucky ");
  19. chState.add("Louisiana ");
  20. chState.add("Maine");
  21. chState.add("Maryland");
  22. chState.add("Massachusetts");
  23. chState.add("Michigan");
  24. chState.add("Minnesota");
  25. chState.add("Mississippi");
  26. chState.add("Missouri");
  27. chState.add("Montana");
  28. chState.add("Nebraska");
  29. chState.add("Nevada");
  30. chState.add("New Hampshire");
  31. chState.add("New Jersey");
  32. chState.add("New Mexico");
  33. chState.add("New York");
  34. chState.add("North Carolina");
  35. chState.add("North Dakota");
  36. chState.add("Ohio");
  37. chState.add("Oklahoma ");
  38. chState.add("Oregon");
  39. chState.add("Pennsylvania");
  40. chState.add("Rhode Island");
  41. chState.add("South Carolina");
  42. chState.add("South Dakota");
  43. chState.add("Tennessee");
  44. chState.add("Texas");
  45. chState.add("Utah");
  46. chState.add("Vermont");
  47. chState.add("Virginia");
  48. chState.add("Washington");
  49. chState.add("West Virginia");
  50. chState.add("Wisconsin");
  51. chState.add("Wyoming");

Report this snippet  

You need to login to post a comment.