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


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

Re: Detect when menu is c

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
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)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <ga93cs$aaa$1@registered.motzarella.org>
References <ga93cs$aaa$1@registered.motzarella.org>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 19
Date Wed, 27 Apr 2011 15:49:13 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303919353 96.60.20.240 (Wed, 27 Apr 2011 10:49:13 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:49:13 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4192

Show key headers only | 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