1 Answer - Sort by: Date | Rating
- Well Lightweight component in java is SWING and heavyweight components are AWT components
- Heavyweight components are dependent on the underlying OS for their appearance and properties.
- HeavyWeight-AWT components are not portable, what I mean Is if you design an app on Linux Box (say SuSe) compile it and run it on Solaris or Mac good old XP Box, your App will look different on each architecture; as they are dependent on OS graphical components.
- As opposite to it are Lightweight component. They are portable. You design your app in SuSe Linux and run it on XP, they look all the same. The positive point is that your app will always look the same, and the way you always intended to be; when you designed it.
- HW i.e. AWT are more resource hungry components then LW Swing.
well hope it helps.
1
0
- How Can I Use Dmp File In Java?
- Can You Write A Program Called InheritanceTest.java To Support An Inheritance Hierarchy For Class Point–Square–Cube?
- Why We Use This Method In Java?
- Why Java Not Supports Multiple Inheritence?
- A Java Program To Get Sports Marks In Student Package And Print Total Marks Of Student?
- The Project Aims To Implement A JAVA Parser? 1- Classes And Functions 2- Arithmetic/logic Expressions 3- If Statement
- How To Get Java On My Lg 260?
- Write A Java Program To Store A Number Find If It Is Positive Or A Negative Number If Positive Print I Am The First?
- How To Update The Sim 3 Expansion?
- What Is An Attribute In Java?
- Do I Have To Write A Main Method In Every Class I Create?
- What How The Step For Make Library Management?
- In Which Process We Can Start Java?
- Define The Concept Of Java Byte Code?
- How To Run Remote Method Invocation In More Machine?
- How To Run Java Remote Method Invocation In More Machine?
- How To Make A Java Program That Will Ask The User To Input A Number And Display All The Even Number And The Sum Of All Even Numbers Based On The Inputted/ Given Numbers?
- Is A Static Variable An Instance?
- How To Compile And Run Java Package?
- What Does Literati-on Mean?
- What Is Abstract Class In Details?
- What Is Meant By Remote Method Invocation In Java?
- What Is Meant By Servlet In Java?
- What Is Latest Technologies In Java?
- Write A Program Using Do…..while Loop To Calculate And Print The First M Fibonacci Numbers?
- Can You Explain Lightweight And Heavyweight Components In Awt?
- What Are The Heavy And Lighted Components In Java?
- What Are Heavy Weight And Light Weight Components In Java?
- What Are The Main Differences Between Java And C++?
- What Are The All Differences Between Java And .net?
- IS GlassFish And Sun Java Application Server The Same Server? If Not What Are The Differences?
- What Is Lightweight Directory Access Protocol?
- How Is The Structure Of A Bone Strong Yet Lightweight?
- Does Anyone Have A Recipe For Lightweight Concrete That I Can Use For Decorative Purposes?

New Comment - Comments are editable for 5 min.