posted 11 years ago
Hi..Guys
I'm developing a short program,consisting of a menu...but the problem comes the moment I try to register an item-listener with a MenuItem.I don't understand why does this happen, for in the tutorials it is written that, ItemEvents are fired by the components that implement the ItemSelectable interface,that applies with the JMenuItem class.
All goes well if I use ActionListener in place of ItemListener....
Help!!!