• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 37. User Input and Interactivity... > Using Swing-Specific Layouts

Using Swing-Specific Layouts

In addition to the AWT layouts that you saw in earlier examples in this chapter, Swing comes with four layouts of its own:

  • ScrollPaneLayout— Built into the ScrollPane component.

  • ViewportLayout— Built into the Viewport component.

  • BoxLayout— Built into the Box component, but also available as an option in other components.

  • OverlayLayout— A layout manager in which every component is added on top of every previous component.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint