🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ENTER => jump to next field + shortcuts

#7593
From: Edilmar Alves
Date: Mon, 22 Jan 2001 13:58
10 lines
1403 bytes
I'm new into Applets and I'm using JB3.5 C/S + JDK 1.3 SUN.
Then, I have wrote an applet that has many JTextFields and JButtons
to Insert/Delete/Update line data into a text file.

My doubts are:
1) How to write a code that allows ENTER key be used to change to
    the next TextField, and, when I'm into last TextField, go to first, not
    to next JButton.
2) How to create shortcuts, like "Ins" to Insert button, "Del" to Delete,
    "Ctrl+Enter" to Update, etc...
Technical Details
Message-ID: <3A6C3C89.8A891BD1@intersite.com.br>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!feeder.qis.net!news.maxwell.syr.edu!newsfeed.cwix.com!wn2feed!worldnet.att.net!164.128.36.58!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,59b3f13d26c0b55b,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-22 07:01:44 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!feeder.qis.net!news.maxwell.syr.edu!newsfeed.cwix.com!wn2feed!worldnet.att.net!164.128.36.58!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail
From: Edilmar Alves <edilmar@intersite.com.br>
Newsgroups: borland.public.jbuilder.java.swing
Subject: ENTER => jump to next field + shortcuts
Date: Mon, 22 Jan 2001 11:58:33 -0200
Organization: InterSite Informática
Lines: 13
Message-ID: <3A6C3C89.8A891BD1@intersite.com.br>
NNTP-Posting-Host: dl-max1-C8D4FF78.cgr.terra.com.br
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: pt-BR,en