🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #26071

Re: JTexField on top of another component does't show up

#26071
From: Jonathan Revusky
Date: Wed, 10 Feb 1999 00:00
25 lines
1559 bytes

Luis Miguel Crespo P�rez wrote:
> 
> 
> I have several components added in a frame window, if I add a
> JTextField, after adding a Panel component being the coordenates of
> the JTextField inside the ones of the Panel, the JTexField component
> doesn't, show up, but If I use TextField instead of JTextField, it
> shows
> on top of the panel, that's what I want but using JTextField.

Tiene que ver con el hecho de que los componentes del AWT tienen un peer
nativo, son heavyweight. En general, deber�as utilizar todo heavyweight
o todo lightweight -- con la excepci�n del Frame en la ra�z de la
jerarqu�a.

En vez de Panel arriba, utiliza JPanel.

Jonathan Revusky
-- 
Java and Delphi Consulting
Make your .class files double-clickable
with SmartJ
http://www.bigfoot.com/~crystalline.solutions
Technical Details
Message-ID: <36C1DACB.5062DC90@jet.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36C02135.94B1AAE8@sdsoftware.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1116f3,43a69fbe04f4a8a4
X-Google-Attributes: gid1116f3,public
From: Jonathan Revusky <jrevusky@jet.es>
Subject: Re: JTexField on top of another component does't show up
Date: 1999/02/10
Message-ID: <36C1DACB.5062DC90@jet.es>
X-Deja-AN: 442919547
Content-Transfer-Encoding: 8bit
References: <36C02135.94B1AAE8@sdsoftware.es>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: usenet@lola.ctv.es
X-Trace: lola.ctv.es 918674237 17093 195.55.161.150 (10 Feb 1999 19:17:17 GMT)
Organization: CTV/JET
Mime-Version: 1.0
Reply-To: jrevusky@bigfoot.com
NNTP-Posting-Date: 10 Feb 1999 19:17:17 GMT
Newsgroups: es.comp.lenguajes.java