Article View: borland.public.jbuilder.java.language
Article #14785keyevent problem
From: Marcel van den Dungen
Date: Mon, 02 Aug 1999 00:00
Date: Mon, 02 Aug 1999 00:00
14 lines
947 bytes
947 bytes
hi i have a problem regarding a keyevent. i added two panels (showing text) on a frame. i would like the panels to receive key events so i added a keylisteners, this didn't work because the parent window is gaining focus and not the panels. therefore i added the frame to the keylisteners of the panels, but now both the panels are receiving the events, i would like only one panel receiving the focus, for example by a mouseclick. can anyone please help me out here? thanks in advance greetings casper
Technical Details
Message-ID:
<7o3r8d$jj41@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5b67663a1b2723d4,start X-Google-Attributes: gidf74b3,public From: "Marcel van den Dungen" <info@c-content.nl> Subject: keyevent problem Date: 1999/08/02 Message-ID: <7o3r8d$jj41@forums.borland.com> X-Deja-AN: 507901697 Organization: C-CONTENT b.v. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.language