🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Focus traversal on Enter key?

#10785
From: Khurram Shakir
Date: Tue, 10 Aug 1999 00:00
14 lines
998 bytes
the simplest method for focus traversal is to write the code in text field
action event.
i.e. if you have two text fields text1 and text2, in text1 actionperformed
function add the following line also
text2.requestFocus();
the impact of this line is when the user hit enter key in text1, the focus
traverse to text2...
may this will help...
regards,

Khurram Shakir
Java developer
Progressive Systems(pvt.) Limited
kshakir@prosys.com.pk
Technical Details
Message-ID: <7opra1$al11@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7opftu$aal4@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,9fed77d5e06193b9
X-Google-Attributes: gid111d45,public
From: "Khurram Shakir" <kshakir@prosys.com.pk>
Subject: Re: Focus traversal on Enter key?
Date: 1999/08/10
Message-ID: <7opra1$al11@forums.borland.com>
X-Deja-AN: 511144398
References: <7opftu$aal4@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing