From:  Jean-Marc Desperrier <>
Date:  17 Oct 2003 02:44:46 Hong Kong Time

Re: java choice menu select method causes action event in OJI plugin mozilla/redhat 8


Dai McClurg wrote:
> often uses the select("value") method to change the menu items shown. 
> which I get an infinite loop of choice menu action events, 

> panel.removeAll();
> panel.add_menus_back();
> A more elegant solution would be much appreciated! Thanks for any help 
> on this.

Why can't you use a global variable to let you know you're inside a call 
to ? Of course the user may click exactly at the 
same time, but you can take the risk under consideration to limit it's