Search
LayoutBuilder.createAndAdd2By2Layout Method
See Also
 






Creates horizontal StackPanel-s for Component-s on same row and adds them to a vertical StackPanel. The Panel is automatically added to the Dashboard's LayoutPanel.

Namespace: com.mindfusion.charting.swing
File: com.mindfusion.charting.swing

 Syntax

Java  Copy Code

public StackPanel createAndAdd2By2Layout (
    Component row1col1,
    Component row1col2,
    Component row2col1,
    Component row2col2
)

 Parameters

row1col1

The first Component on the first row.

row1col2

The second Component on the first row.

row2col1

The first Component on the second row.

row2col2

The second Component on the second row.

 Return Value

A StackPanel instance.

 See Also