🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7739

Re: Handling events issue

#7739
From: John McGrath TeamB
Date: Mon, 21 May 2001 23:32
24 lines
1664 bytes
On Mon, 21 May 2001 09:40:25 +0800, KK wrote:

> In VB, we can an indexed text boxes from 0 to 99 and write
> a line of code for these text boxes. I don't think Java
> has the same feature. But anyway, is there a simplier way
> to do so?

You can certainly create an array of text boxes, or a Vector or 
ArrayList if you would like.  The JBuilder designer does not do this 
for you automatically, but you can certainly do it.

You can also use getComponents() on the container to process every 
component that has been added.  You could use the Designer to set up 
the GUI, and then write some code to process all of the components 
after they have been set up.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.157363e689710ff898a203@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b087273_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6b38d73c5e82a869
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-21 16:39:18 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Handling events issue
Date: Mon, 21 May 2001 19:32:54 -0400
Message-ID: <MPG.157363e689710ff898a203@forums.borland.com>
References: <3b087273_1@dnews>
X-Newsreader: MicroPlanet Gravity v2.30
NNTP-Posting-Host: 209.92.40.60
X-Trace: dnews 990487973 209.92.40.60 (21 May 2001 16:32:53 -0700)
Lines: 24
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews