• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

heavy wt components

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The four Swing Heavywieght containers are JApplet,JFrame,JDialog and JWindow
 
sridevi sangaiah
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about JInternalFrame? Is't a HeavyWeight comp
[This message has been edited by Babu Bala (edited July 13, 2000).]
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
ravee
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
can anybody please tell me the way to differentiate between
light wt and heavy wt components?
thanks
ravee.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic