1 Answer - Sort by: Date | Rating
Quite a few subjects connected to the combining of AWT and Swing components are connected to the mixing of the heavyweight and lightweight components. A heavyweight component is the one which related to its own native screen resource. Where as a lightweight component is the one which "borrows" the screen reserve of an ancestor.
There are quite a few vital differences among lightweight and heavyweight components, because all the AWT components are heavyweight and nearly all the Swing component are lightweight, these dissimilarities turn evident when you start putting together Swing components along with AWT components.
A lightweight component may have translucent pixels, where as a heavyweight ones are generally opaque. A lightweight component may seem to come into view as non-rectangular normally because of their aptitude to set translucent areas, where as a heavyweight is restricted to be rectangular.
There are quite a few vital differences among lightweight and heavyweight components, because all the AWT components are heavyweight and nearly all the Swing component are lightweight, these dissimilarities turn evident when you start putting together Swing components along with AWT components.
A lightweight component may have translucent pixels, where as a heavyweight ones are generally opaque. A lightweight component may seem to come into view as non-rectangular normally because of their aptitude to set translucent areas, where as a heavyweight is restricted to be rectangular.
0
0
- What Are The Heavy And Lighted Components In Java?
- What Are The Heavyweight & Lightweight Components In Java?& Their Differences!
- What Are The Components Of Solar Light?
- I Am 14 5'8/5'9 And I Weight 10 Stone Is That To Heavy?
- Which Are The Heavy Weight Snakes Of The World?
- What Would Happen If It Were Heavy Enough To Collapse Under Its Own Weight?
- Who Has The UFC Heavy Weight Title?
- How Heavy Should A Bmx Bike Weight?
- From Heavy Period To Light Period?
- Why Do I Have Light Bleeding Instead Of Heavy?
- What Is An Object And What Are Its Importance In Java?
- What Are Objects In Java An How Is It Important?
- How Can I Get Vank In UK Tp Give Me My Inheritance?
- Urgent! I Need Help On A Java Project For School! Can You Fix This Code?
- Why Do We Use Void Main In C?
- What Is The Environment Of JRE?
- Write The Program In Java To Find Whether The Point On Circle Or Outside The Circle?
- I Need A Help In Developing A Java Program That Stimulates A Game Tries To Guess That The Number User Has Thought Off?
- Why Do We Use Void Main () In C Language &What Its Meaning?
- Single Processor Can Execute Two Or More Programs Concurrently But Not Simultaneously?
- What Package Is Used For Image Compression In Java?
- How Many Types Of Data Are Allowed In FoxPro Database?
- How To Prepare Java?
- What Is The Objective Of Designing .net ,how Its Different Of Java?
- How To Write A Java Program For Data Abstraction?
- What Is Instances?
- What Language Is The Predecessor Of Java?
- What Is Java And Its Features?
- How To Print 0,6,24,60,120 In Java?
- Where Can I Find The Image Of Platform Balance?
- How To Run Command For Applet?
- How Can I Create An Icon For My Servlet Request In Java Language?
- What Is The Difference Between Derived Class And Base Class In Java?
- Where Is Java Situated?
- How To Struts Are Work?

New Comment - Comments are editable for 5 min.