Article View: borland.public.jbuilder.java.language
Article #7742Re: Handling events issue
From: KK
Date: Tue, 22 May 2001 02:05
Date: Tue, 22 May 2001 02:05
33 lines
2050 bytes
2050 bytes
Dear John: Do you have any example showing how to implement it? Thank you very much anyway. Ken "John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message news:MPG.157363e689710ff898a203@forums.borland.com... > 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:
<3b09c9d4_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3b087273_1@dnews> <MPG.157363e689710ff898a203@forums.borland.com>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 19:08:59 PST From: "KK" <kk@hotmail.com> Newsgroups: borland.public.jbuilder.java.language References: <3b087273_1@dnews> <MPG.157363e689710ff898a203@forums.borland.com> Subject: Re: Handling events issue Date: Tue, 22 May 2001 10:05:27 +0800 Lines: 35 Organization: CDS X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 NNTP-Posting-Host: 158.140.230.175 Message-ID: <3b09c9d4_2@dnews> X-Trace: dnews 990497236 158.140.230.175 (21 May 2001 19:07:16 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews