Shmuel,
Comboboxes like most other interactive objects support some sort of data model.
You need to implement a ComboBoxModel and set it in your java code.

Wolf


Shmuel Cohen wrote:

How do I define a combobox in xml with Swixml? Mainly, how do you define the items?

<combobox id=”cb” name=”cb” SelectedIndex="0">

// How do you define the “addItem()” equivalent??

???

<item>Bird</item>

<item>Cat</item>

<item>Dog</item>

</combobox>

Thanks!




Reply via email to