🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to call a component by name?

#14422
From: Bombi
Date: Tue, 07 Sep 1999 00:00
11 lines
688 bytes
Hi there,

I've an application with a JPanel. How can I use my JPanel calling it by
name ?

Something like    JPanel1 jPanel = createComponent("JPanel1")  instead of
new JPanel1() ?

Thanx for any help
Bombi
ABonetti@yahoo.com
Technical Details
Message-ID: <7r3sre$st7@forums.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: f74b3,43efad4802ffae21,start
X-Google-Attributes: gidf74b3,public
From: "Bombi" <abonetti@yahoo.com>
Subject: How to call a component by name?
Date: 1999/09/07
Message-ID: <7r3sre$st7@forums.borland.com>
X-Deja-AN: 522252734
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language