ItemEvent do not fire when I change the itm staete thorugh

love.........................

I have

1- List

2- Two Buttons

In event handler of button action evnnt I got list selected index

then use select method to incresed index by one.

list.select (list.getSelectedIndex() + 1);

List item is selected but problem is that ItemEvent do not

fire at all, although item state is changed.

why .....................

[416 byte] By [shahidjava] at [2007-9-26 2:12:58]
# 1
AFAIK ItemListener listens only to changes done by the user.You could extend choice and overwrite the select methods so they also fire itemevents.
arcosh at 2007-6-29 9:06:51 > top of Java-index,Desktop,Core GUI APIs...