File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: heavy wt components
 
Similar Threads
why applet is heavy weight and swing is called light weight?
Interview questions
putting screen output inside scroll bar
Light and heavy weight
Canvas in JScrollPane