🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

focus for jcomponent

#10775
From: Marcel van den Dungen
Date: Tue, 10 Aug 1999 00:00
17 lines
1067 bytes
hi

i am creating a jcomponent, but i can't get it to receive the keyboard
focus. i tried to add an keyactionlistener but this didn't have any
result, also i tried overriding the method isFocusTraversable always
returning true, this didn't have effect either.

it must be possible since the jtree component is doing the same thing, i
am wondering whether it has to do something with the accesibility
interfaces but i have no idea how these work. does anyone know a good
place to start to learn about this.

can anyone please help me out with these problem(s)

tia
greetings
casper
Technical Details
Message-ID: <37AFEEC5.C4F07821@c-content.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,4968733b5fc23c4f,start
X-Google-Attributes: gid111d45,public
From: Marcel van den Dungen <info@c-content.nl>
Subject: focus for jcomponent
Date: 1999/08/10
Message-ID: <37AFEEC5.C4F07821@c-content.nl>
X-Deja-AN: 510984777
Content-Transfer-Encoding: 7bit
Organization: C-CONTENT b.v.
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing