lwuit container
        Posted  
        
            by user267674
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user267674
        
        
        
        Published on 2010-02-06T10:09:16Z
        Indexed on 
            2010/04/08
            5:03 UTC
        
        
        Read the original article
        Hit count: 275
        
lwuit
i have added a container named btnBar with boxlayout(x-axis) on a form. the container has 4 buttons of custom class MyButton that extends from Button itself.when i add actionlistener to one of the buttons in the container it gets invoked for each n every button.Even the actionevent.getsource.gettext method returns the same value irrespective of the focus.i hav added the buttons thru an array and m trying to use is smthng lyk dis....btns[0].addActionListener(......)......where m i going wrong...plz lemme kw..
© Stack Overflow or respective owner