3 Replies Latest reply on Mar 24, 2010 3:24 PM by Nick Belaevski

    setActionListener deprecated?

    Rand Asin Novice

      I want to setActionListener on HtmlMenuItem, but Eclipse code assist indicates that {HtmlMenuItem}.setActionListener(MethodBinding actionListener) is deprecated.  Looks like I should use addActionListener(ActionListener actionListener).  Why is setActionListener deprecated? Is method binding not recommended for action listener?