🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10593

Re: Swing & AWT

#10593
From: Tor Iver Wilhelmsen
Date: Mon, 30 Aug 1999 00:00
18 lines
1041 bytes
"Karl Thompson" <KarlT@pine-grove.com> writes:

> Is this ok to do?

No.

> If not, why not. 

AWT components are "peered", which means they have native "controls"
they represent. In contrast, Swing components draw themselves onto the
background of another peered component. As a result, AWT components
will paint themselves on top of any Swing components, and will not
obey Swing's slightly altered flow-of-control when it comes to
events. The result can be chaos.

> What about AWT and SWING in the same project but different forms?

Should work - but why would you want to?
Technical Details
Message-ID: <u671xbxof.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7qbccg$3ft1@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,89dc45899ec387f2
X-Google-Attributes: gid111d45,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: Swing & AWT
Date: 1999/08/30
Message-ID: <u671xbxof.fsf@sds.no>
X-Deja-AN: 518767081
Sender: towi@SDSA1761
References: <7qbccg$3ft1@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing