Simple Aquestion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashi1290
    New Member
    • Feb 2008
    • 6

    #1

    Simple Aquestion

    why swing is called light weight container
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by ashi1290
    why swing is called light weight container
    Swing isn't a light weight container, it *uses* light weight containers and components.
    The old AWT uses heavy weight containers and components. Google for the
    meaning of 'light weight' and 'heavy weight' or read an appropriate tutorial.

    kind regards,

    Jos

    Comment

    • BigDaddyLH
      Recognized Expert Top Contributor
      • Dec 2007
      • 1216

      #3
      The next question is often about mixing. The short answer is don't!

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by BigDaddyLH
        The next question is often about mixing. The short answer is don't!

        http://java.sun.com/products/jfc/tsc/articles/mixing/
        In ordinary terms that means: either use Swing or AWT; not both.

        kind regards,

        Jos

        Comment

        Working...