| Package | Description | 
|---|---|
| javax.swing | 
 Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Box | 
Box.createHorizontalBox()
Creates a  
Box that displays its components
 from left to right. | 
static Box | 
Box.createVerticalBox()
Creates a  
Box that displays its components
 from top to bottom. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.