• Post Reply Bookmark Topic Watch Topic
  • New Topic

Differnece between swing and awt  RSS feed

 
Vishal Methi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HEY can u plz tell me some of the difference between the following points...
1. AWT and SWING.
2. HeavyWeight and lightWeight
3. JVM N JRE
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AWT uses native calls to the OS to draw widgets. (Heavyweight) But AWT is a lot more than just widgets and Swing still uses the AWT event queue, layout managers, etc.

Swing draws all of it's own widgets. (Lightweight)

JVM N JRE

No really a question for this forum...but...

The JRE is a collection of executables, JAR's and native libraries to run java applications. The JVM is the virtual machine that these applications run in. java.exe starts the JVM which runs the application.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!