[Logo]
Forums Register Login
why we use swing to create GUI application instead of AWT?
we can also use AWT(Absract Window Toolkit).but when it is used to create component, it's called its native method. native method is written in C language.
but C is platfom depended language. so, look and feel of the component is different for different platform(operating system). so, devloper can't make sure about appearence of his GUI. so,it's better to use swing rather than AWT.

AWT component is heavyweighted means use more system resources(memory,processor time).
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature


This thread has been viewed 745 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 23, 2018 07:47:49.