Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #29671
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Knute Johnson <eternal@knutejohnson.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Problem getting the JPopupMenu from the Action it generates |
| Date | Thu, 14 Aug 2014 19:20:48 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 19 |
| Message-ID | <lsjqpj$bmu$1@dont-email.me> (permalink) |
| References | <lsec34$d64$1@dont-email.me> <66hrbb-0uo.ln1@s.simpson148.btinternet.com> <ca2557eb-e693-4b40-94e2-11c509ac636b@googlegroups.com> <lsg11r$8te$1@dont-email.me> <k2aubb-sf3.ln1@s.simpson148.btinternet.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 15 Aug 2014 02:20:35 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="aba33539224e5c782fe0c4053f7756fd"; logging-data="11998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pHD7uhLPpcmLxtNzdAQfk" |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
| In-Reply-To | <k2aubb-sf3.ln1@s.simpson148.btinternet.com> |
| Cancel-Lock | sha1:n0I5sTT90hkaQOZIdjqJ8VO4e24= |
| Xref | csiph.com comp.lang.java.programmer:29671 |
Show key headers only | View raw
On 8/14/2014 01:54, Steven Simpson wrote: > On 13/08/14 16:43, Knute Johnson wrote: >> I'm curious though, how did you figure out that the JPoupMenu$1 was >> the JMenuItem? > > The add(Action) documentation stated that some JMenuItem was created, > added and returned, and that should have been the event source. The > error reported that its type was JPopupMenu$1, therefore JPopupMenu$1 > extends JMenuItem. The source code confirmed this. > > It appears obvious now but at the time :-) Thanks again for the pointers. -- Knute Johnson
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem getting the JPopupMenu from the Action it generates Knute Johnson <eternal@knutejohnson.com> - 2014-08-12 17:39 -0700
Re: Problem getting the JPopupMenu from the Action it generates Steven Simpson <ss@domain.invalid> - 2014-08-13 08:37 +0100
Re: Problem getting the JPopupMenu from the Action it generates FredK <fred.l.kleinschmidt@gmail.com> - 2014-08-13 08:02 -0700
Re: Problem getting the JPopupMenu from the Action it generates Knute Johnson <eternal@knutejohnson.com> - 2014-08-13 08:43 -0700
Re: Problem getting the JPopupMenu from the Action it generates Mike Amling <mamling@chaff.us> - 2014-08-14 00:12 -0500
Re: Problem getting the JPopupMenu from the Action it generates Steven Simpson <ss@domain.invalid> - 2014-08-14 09:54 +0100
Re: Problem getting the JPopupMenu from the Action it generates Knute Johnson <eternal@knutejohnson.com> - 2014-08-14 19:20 -0700
csiph-web