🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

setNextFocusOnEnter(false) and default button

#8011
From: Paul H. van Rossem
Date: Tue, 07 Nov 2000 00:00
18 lines
1276 bytes
Hi,

The default action in a JdbTextField on pressing an Enter key
is to pass the focus to the next component. 
Method setNextFocusOnEnter(false) allows to suppress this dbswing
specific behaviour, but this does not seem to pass the Enter key
event properly to the parent container. The result is for instance 
that the default button is not activated.

Is there any work-around? 

Regards and thanks for reading, Paul.

------------------------------------
Paul van Rossem, Van Rossem TimeWare
Tempellaan  18,  3721  VH  Bilthoven
tel: 030-220.4006, fax: 030-220.3445
mobiel: 06-5468.3405
Technical Details
Message-ID: <jpuf0tke55kcd7oc0dp76hifjs3584m6kq@4ax.com>
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,6cbcf686865c4462,start
X-Google-Attributes: gid111d45,public
From: Paul H. van Rossem <paul@timeware.nl>
Subject: setNextFocusOnEnter(false) and default button
Date: 2000/11/07
Message-ID: <jpuf0tke55kcd7oc0dp76hifjs3584m6kq@4ax.com>
X-Deja-AN: 690772633
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@xs4all.nl
X-Trace: news1.xs4all.nl 973602030 17944 194.109.160.90 (7 Nov 2000 13:00:30 GMT)
Organization: Van Rossem Timeware
Mime-Version: 1.0
NNTP-Posting-Date: 7 Nov 2000 13:00:30 GMT
Newsgroups: borland.public.jbuilder.java.swing