Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-17-2003, 04:38 AM   PM User | #1
psp
New Coder

 
Join Date: Mar 2003
Location: CA
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
psp is an unknown quantity at this point
Difference between Java AWT and Swing

Hello,

I am trying to find out the difference between AWT and Swing.
I read somewhere that the Swing components are implemented with absolutely no native code.
I could not understand the meaning of "native code".Can somebody explain its meaning?

Thank you.
psp is offline   Reply With Quote
Old 03-20-2003, 11:49 PM   PM User | #2
eggman
New Coder

 
Join Date: Mar 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
eggman is an unknown quantity at this point
Here is an excerpt from Grant Palmer's massive Java Programmer's Reference:

The classes contained in the java.awt package provide a basic capability to create graphical user interfaces, but the scope of the tools contained in java.awt is limited. Furthermore, the actual implementation of the components is done in a language other than Java, and the look and behavior of the components is somewhat dependent on the runtime platform's native environment. AWT components might act slightly differently on a UNIX system than they would on a PC.

The Swing classes are the next-generation (Java 2) GUI classes. They provide a number of new components including trees, tables, and tooltips, etc. Swing components are written entirely in Java...

Does this help? If you don't have his reference, at least take a look at it. You probably won't need another for some time. It runs about $35 and contains over 1200 pages of solid examples and references.
eggman is offline   Reply With Quote
Old 03-21-2003, 05:49 AM   PM User | #3
psp
New Coder

 
Join Date: Mar 2003
Location: CA
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
psp is an unknown quantity at this point
Thanks for the explanation.Now I understand it!!!
psp is offline   Reply With Quote
Old 09-22-2009, 12:59 PM   PM User | #4
ilovenagpur
New to the CF scene

 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ilovenagpur is an unknown quantity at this point
Thumbs up AWT and Swing

Visit below website to get the detailed answer of your question:

http://shivasoft.in/view_tutorial.php?id=99

Thanks,
Jitendra
ilovenagpur is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:42 AM.


Advertisement
Log in to turn off these ads.