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


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

Re: Detect when menu is c

From "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this>
Subject Re: Detect when menu is c
Message-ID <ga91u3$v9l$1@registered.motzarella.org> (permalink)
Newsgroups comp.lang.java.gui
References <ga8jb8$vis$1@registered.motzarella.org>
Date 2011-04-27 15:49 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Wed, 10 Sep 2008 16:50:29 +0300, /Stanimir Stamenkov/:
> Wed, 10 Sep 2008 06:17:46 -0700 (PDT), /wx/:
> 
>> Doesn't it sound strange that the process is so complicated for such a 
>> simple thing? I mean - click on the button (AbstractButton <- 
>> JMenuItem). Thanks again for the help guys!
> 
> As far as I've got you don't want a button action listener but a menu 
> selection change listener which is quite different and specific.

Reading it up once again I see I've got it wrong.  Now I see you 
want a single action listener for all menu items and you want it 
called back for any new items there may be added to the container, 
right?  I'm sorry to say I haven't thought about that.

-- 
Stanimir

---
 * 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