🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: AWT vs. Swing

#2918
From: Jonathan Revusky
Date: Sat, 17 Oct 1998 00:00
37 lines
1960 bytes

Keith Bennett wrote:
> 
> I'm getting into Java, and have a couple of questions...
> 
> I want to make the most of my time by using tools that are portable and
> current.  I thought I remember reading somewhere that Swing components
> are replacing AWT.  Is there any truth to that?  

Yes. It's absolutely true.

> What is the
> relationship between Swing and AWT?

AWT is really a bunch of things. Broadly speaking, there is low-level
AWT which is the abstraction of the system graphics library. And then
there are the higher-level components, such as buttons, lists,
textfields and whatnot that were provided with the core JDK 1.1. Those
components are peer-based, that is, they are Java wrappers around native
code. That is the part that Swing is replacing. The Swing components, by
contrast, are written in pure java. However, they are still based on the
low-level AWT graphics capabilities. 

 
> I just purchased JBuilder 2, and have that on my machine along with the
> JDK (1.2 beta).  If I set up JBuilder 2 to use only JDK and Swing
> classes, does that mean it will be portable?

Yes. It certainly should be.

Jonathan Revusky
-- 
Java and Delphi Consulting
Make your .class files double-clickable 
with SmartJ
http://www.bigfoot.com/~crystalline.solutions
Technical Details
Message-ID: <3627DF03.EF611254@jet.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <708fih$9ki@cpcug.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10fd6d,6a2f0f2bad150b97
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: 1089d0,6a2f0f2bad150b97
X-Google-Attributes: gid1089d0,public
From: Jonathan Revusky <jrevusky@jet.es>
Subject: Re: AWT vs. Swing
Date: 1998/10/17
Message-ID: <3627DF03.EF611254@jet.es>
X-Deja-AN: 401978590
Content-Transfer-Encoding: 7bit
References: <708fih$9ki@cpcug.org>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Telefonica Transmision de Datos
Mime-Version: 1.0
Reply-To: jrevusky@bigfoot.com
Newsgroups: borland.public.jbuilder.java.api,comp.lang.java.gui