🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2755

READ PROPERTIES FROM COMPONENTS?

#2755
From: Ren� Thomsen
Date: Tue, 30 May 2000 00:00
11 lines
1034 bytes
i want to e.g have a panel filled with jtextfields dynamically this works
fine, but i want to traverse the panels child components dynamically as
well.
Since i dont know the number of components before runtime i need a way of
identifying each childcomponent and its properties.
this is done with  "panelname.getcomponent(int)"  this also works fine
except the string returned from this function dosent return all properties,
only some.
how do i get the components name? its not in the property string.

please advice
Technical Details
Message-ID: <8h0k37$i0j1@bornews.borland.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: 1089d0,df8c540df255080,start
X-Google-Attributes: gid1089d0,public
From: "Ren� Thomsen" <rtNOSPAM@bankinvest.dk>
Subject: READ PROPERTIES FROM COMPONENTS?
Date: 2000/05/30
Message-ID: <8h0k37$i0j1@bornews.borland.com>
X-Deja-AN: 629041593
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.api