This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

heavy wt components

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • 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
  • 0
  • send pies
  • Quote
  • Report post to moderator
The four Swing Heavywieght containers are JApplet,JFrame,JDialog and JWindow
 
sridevi sangaiah
Greenhorn
Posts: 19
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic