Hi.

LinkedHashMap will preserve order in wich elements are added to
LinkedHashMap, and checkboxlist (radiobuttons, etc) will be displayed
in that order.



> If I have a Hashtable<Integer,String> with the
> following data:
> 1,"One"
> 2,"Two"
> 11,"Eleven"
> Is it possible to make the select box display the
> data sorting by id or sorting by value?

Only if you apply ordering somehow; hashes are
non-ordered by default.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to