Header Ads

  • Breaking Now

    What is the base class for all swing components?

    JFC Swing components (like textfields,buttons,checkboxes,lists etc. ) are direct replacements of corresponding AWT components and it replaces just some section of AWT GUI components,other aspects of AWT like layout managers remains unchanged.All these Swing components are extended from the javax.swing.JComponent, which has following hierarchy:
    - java.awt.Component
    - java.awt.Container
    - javax.swing.JComponent

    Post Top Ad

    Post Bottom Ad