🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #359

KeyEvents

#359
From: Pax
Date: Sat, 10 Sep 2005 10:18
16 lines
1505 bytes
I am a bit confused regarding KeyEvents. I need to listen for the user 
pressing a specific F-key. Is it not possible to set a key-listener for an 
entire frame? It seems like the event is not comming through to the frame, 
if the active control has any kind of key-listener (like a TableFrame).

I am used to the events bubbeling up from a compunent to its parent until it 
hits the container in Delphi. Is this different in Java?

In this project I am compiling to a Java application (JAR executable).

I am using JBuilder2005, but I suppose that does not make any difference.

-- 

Peder Sk�nning
PAX Informatik
Technical Details
Message-ID: <4322b2cf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,24303e9164ec4a7d,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII
From: "Pax" <2mailmeusepax@paxitdotdk>
Newsgroups: borland.public.jbuilder.java.swing
Subject: KeyEvents
Date: Sat, 10 Sep 2005 12:18:48 +0200
Lines: 18
Organization: Sk�nning
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.147.241.3
Message-ID: <4322b2cf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126347471 82.147.241.3 (10 Sep 2005 03:17:51 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail