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


Groups > comp.lang.java.programmer > #31021

Re: JPopupMenu

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!newsfeed.tele2net.at!news.panservice.it!feed.xsnews.nl!border02.ams.xsnews.nl!feeder02.ams.xsnews.nl!frontend-F09-06.ams.news.kpn.nl
From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.java.programmer
Subject Re: JPopupMenu
Organization Decebal Computing
References <877fw0yuwm.fsf@Equus.decebal.nl> <54cfd7ae$0$293$14726298@news.sunsite.dk>
X-Face "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR<J%a^F2lh4[N~Yz4 nSp#c+aQo1b5=?HcNEkQ7QzF<])O3X4MDL/AYjys&*mt>,v+Pti8=Vi/Z"g^?b"E
X-Homepage http://www.decebal.nl/
Date Tue, 03 Feb 2015 01:05:20 +0100
Message-ID <87386nzwov.fsf@Equus.decebal.nl> (permalink)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
Cancel-Lock sha1:GQpICFoYjueUbNBFDqt5QNBNfDU=
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Lines 20
NNTP-Posting-Host 77.171.42.144
X-Trace 1422922434 news.kpn.nl 20453 77.171.42.144@kpn/77.171.42.144:40127
Xref csiph.com comp.lang.java.programmer:31021

Show key headers only | View raw


Op Monday 2 Feb 2015 21:01 CET schreef Arne Vajhøj:

> On 2/2/2015 2:29 PM, Cecil Westerhof wrote:
>> I tried the code at:
>> http://www.java2s.com/Code/Java/Swing-JFC/CreatingpopupmenuswithSwing.htm
>>
>> The JTextField is shown, but the JPopupMenu not. What is wrong in
>> the code?
>
> Here I get the popup menu fine as soon as I right click on the
> applet.

I tried that and I get the same result. But that is not what I want. I
was using the wrong class. It looks like that with JComboBox I get
what I want.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JPopupMenu Cecil Westerhof <Cecil@decebal.nl> - 2015-02-02 20:29 +0100
  Re: JPopupMenu Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-02-02 14:46 -0500
  Re: JPopupMenu Arne Vajhøj <arne@vajhoej.dk> - 2015-02-02 15:01 -0500
    Re: JPopupMenu Cecil Westerhof <Cecil@decebal.nl> - 2015-02-03 01:05 +0100
  Re: JPopupMenu Roedy Green <see_website@mindprod.com.invalid> - 2015-02-05 13:34 -0800
    Re: JPopupMenu Cecil Westerhof <Cecil@decebal.nl> - 2015-02-10 19:54 +0100

csiph-web