-
AWT vs. Swing
Hi Folks,
Would somebody pls explain when to use which? Sun seems 2 b propagating Swing
over AWT; is Swing
fundamentaly better than AWT? And in that sense, what does "better" mean?
Thnx u all.
Saeed
-
Re: AWT vs. Swing
Swing is better for designing and producing GUIs. "Better" here means "more
flexible and powerful". But I hear it's hard to make it work in applets -
you have to get plugins installed in browsers or download giant JAR files
with your applet - haven't tried this myself, though.
Saeed <saeed@gmx.net> wrote in message news:38f173c1$1@news.devx.com...
>
> Hi Folks,
>
>
> Would somebody pls explain when to use which? Sun seems 2 b propagating
Swing
> over AWT; is Swing
> fundamentaly better than AWT? And in that sense, what does "better" mean?
> Thnx u all.
>
> Saeed
-
Re: AWT vs. Swing
AWT depends on the underlying OS for all its protocols...
But Swing components are written completely in JAVA...thats why they are
called JLabel and JTextField...So Swing is better and faster than AWT....Hope
this helps
"Saeed" <saeed@gmx.net> wrote:
>
>Hi Folks,
>
>
>Would somebody pls explain when to use which? Sun seems 2 b propagating
Swing
>over AWT; is Swing
>fundamentaly better than AWT? And in that sense, what does "better" mean?
>Thnx u all.
>
>Saeed
-
Re: AWT vs. Swing
Is it possible to create a list box with icons using AWT? I see you can do
it with JList, but reading the other post here and trying some samples
making an applet isn't easy.
Thanks,
Eric Renken
"Harkishin" <harkishin_n@yahoo.com> wrote in message
news:3954071a$1@news.devx.com...
>
> AWT depends on the underlying OS for all its protocols...
> But Swing components are written completely in JAVA...thats why they are
> called JLabel and JTextField...So Swing is better and faster than
AWT....Hope
> this helps
>
> "Saeed" <saeed@gmx.net> wrote:
> >
> >Hi Folks,
> >
> >
> >Would somebody pls explain when to use which? Sun seems 2 b propagating
> Swing
> >over AWT; is Swing
> >fundamentaly better than AWT? And in that sense, what does "better" mean?
> >Thnx u all.
> >
> >Saeed
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks