This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes heavy wt components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "heavy wt components" Watch "heavy wt components" New topic
Author

heavy wt components

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
can any body tell me which are heavy components (both in awt/and in swing)
examples please,as i was new to swing.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
The four Swing Heavywieght containers are JApplet,JFrame,JDialog and JWindow
sridevi sangaiah
Greenhorn

Joined: Mar 20, 2001
Posts: 19
All AWT components are heavyweight and all Swing components are lightweight (except for the top-level ones: JWindow, JFrame, JDialog, and JApplet)
Bharathi Balasubramanian
Greenhorn

Joined: Jul 12, 2000
Posts: 26
how about JInternalFrame? Is't a HeavyWeight comp
[This message has been edited by Babu Bala (edited July 13, 2000).]


I got a flight to catch.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Not according to the docs - it's lightweight. Anyway, it's normally contained within a JDesktopPane (also lightweight) which in turn can be put inside one of the heavyweight components.


"I'm not back." - Bill Harding, Twister
ravee
Greenhorn

Joined: Feb 18, 2000
Posts: 19
hi,
can anybody please tell me the way to differentiate between
light wt and heavy wt components?
thanks
ravee.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: heavy wt components
 
It's not a secret anymore!