Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31021
| 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> |
| Date | 2015-02-03 01:05 +0100 |
| Message-ID | <87386nzwov.fsf@Equus.decebal.nl> (permalink) |
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
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