Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4192

Re: Detect when menu is c

From "wx" <wx@THRWHITE.remove-dii-this>
Subject Re: Detect when menu is c
Message-ID <3ad72acf-696d-4e55-8ed0-212d77dac098@2g2000hsn.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <ga93cs$aaa$1@registered.motzarella.org>
Date 2011-04-27 15:49 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
> So you want action events happening for menu items which are menu
> containers also, correct? =A0
Exactly.

> I don't know whether this is possible as
> the L&F most probably has attached an action listener to these to
> control the UI, already. =A0
Yes, but I thought that why method isn't called setActionListener, but
addActionListeners - it should allow any number of listeners to be
attached. This is the case with normal buttons, right? At the end,
even if this was changed, there should be a good reason for this. Is
there one I don't see? Why would somebody make the code so it doesn't
allow me to listen to events?

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Detect when menu is chose "wx" <wx@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000
  Re: Detect when menu is c "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000
    Re: Detect when menu is c "wx" <wx@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000
      Re: Detect when menu is c "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000
        Re: Detect when menu is c "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000
          Re: Detect when menu is c "wx" <wx@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000
            Re: Detect when menu is c "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000
              Re: Detect when menu is c "wx" <wx@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000
                Re: Detect when menu is c "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000

csiph-web