Article View: borland.public.jbuilder.java.swing
Article #9130Re: Popup menu
From: John P. McGrath
Date: Tue, 16 May 2000 00:00
Date: Tue, 16 May 2000 00:00
21 lines
1295 bytes
1295 bytes
On Mon, 15 May 2000 17:07:05 +0200, Andreas Andersson wrote: > I'm having a problem when I try to show a JPopupMenu. I want > to enable stepping with arrows (up & down), disable popup with > the escape-key and so on.... I was looking at this problem a few days ago. I had some luck with it, but I did not have the time to keep working on it. I was expecting it to be a simple problem, and after several hours on it, I had to move onto other things. There is some pretty bizarre stuff going on in the popup code, and the first solution I had in mind would probably have worked were it not for another bug I ran into (AncestorListener does not always work). I have an idea how to deal with it now, and hope to dig back into it Real Soon Now. If I do, I will post a follow-up. -- John P. McGrath <JPMcGrath@fast.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.138a9f32f876398598992c@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3920100f@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c6315f5d49219b93 X-Google-Attributes: gid111d45,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: Popup menu Date: 2000/05/16 Message-ID: <MPG.138a9f32f876398598992c@forums.borland.com> X-Deja-AN: 623934889 References: <3920100f@dnews> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing