AWT vs. Swing


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: AWT vs. Swing

  1. #1
    Saeed Guest

    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

  2. #2
    Paul Clapham Guest

    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




  3. #3
    Harkishin Guest

    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



  4. #4
    Eric Renken Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center