Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Re: JComboBox help again but different help 75+ items in it

    The client property uses something like a hashmap. Look at the API doc for that class.
    The key is what you give to a hashmap for it to return the value.
  2. Re: JComboBox help again but different help 75+ items in it

    Your class provides get/set methods for storing values for each item in the list.
  3. Re: JComboBox help again but different help 75+ items in it

    Your solution has no overlap with mine. See the JComponent class's ClientProperty methods.
    For example:
    final String TheKey = "A KEY";
    JComboBox jcb1 = new JComboBox(...);...
  4. Re: JComboBox help again but different help 75+ items in it

    You could put the value you want returned when a item is selected in the item itself.
    See the ClientProperty methods for JComponent. Its frontends a hash map where you can store any value you want...
Results 1 to 4 of 4