Monday, May 7, 2007

What is the difference between JFC Swing and AWT?

AWT has following characteristics:
-It has native C specific code 
-Rendering of AWT controls is dependent upon underlying OS.
While JFC Swing is :
-Pure Java based
-Lightweight components
-Pluggable look and feel features
-Appearance of GUI developed using JFC Swing will be consistent across various OS.
-Swing uses a more efficient event model than AWT; therefore, Swing components can run more quickly than their AWT counterparts



Interview Questions On Java,Java EE Copyright © 2017. Reads: best tracker