Results 1 to 3 of 3
  1. #1
    Daryn is offline Senior Member
    Join Date
    Oct 2012
    Posts
    176
    Rep Power
    2

    Question The main diffrences Between AWT and Swing

    Alright so I am sorta new to programing and even newer to the Java language. So I was wondering what is the primary diffrences between AWT components and Swing Components. I was wondering because I am pretty sure when i use netBean it uses swing but i am currently going through a tutorial that uses AWT

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,965
    Rep Power
    8

    Default Re: The main diffrences Between AWT and Swing

    I would think that a google search of "java awt" and "java Swing" or even "java awt vs Swing" would give you much better explanations than any of us could give you.

    But the gist is this: AWT is older and uses native resources. Swing is built on top of AWT and uses lightweight resources. For most things, you'll want to be using Swing.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Daryn is offline Senior Member
    Join Date
    Oct 2012
    Posts
    176
    Rep Power
    2

    Default Re: The main diffrences Between AWT and Swing

    Alright thanks for your help I never thought of googling it and for anyone else wondering here is a pretty good website that explains it pretty well even including a list of pros and cons for both AWT vs Swing

Similar Threads

  1. Exception in thread main java.lang.nosuchmethoderror main
    By prikesh_joshi7 in forum Java Applets
    Replies: 3
    Last Post: 01-26-2012, 04:19 PM
  2. Replies: 1
    Last Post: 11-23-2011, 05:52 AM
  3. Replies: 1
    Last Post: 01-23-2011, 05:19 PM
  4. Replies: 5
    Last Post: 10-06-2008, 12:11 AM
  5. Replies: 1
    Last Post: 08-06-2007, 09:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •