| Modifier and Type | Method and Description |
|---|---|
static void |
normalizeHeight(JComponent... components)
Sets all specified components to the same height.
|
static void |
normalizeWidth(JComponent... components)
Sets all specified components to the same width.
|
static void |
setPreferredHeight(int height,
JComponent... components)
Sets all specified components to the same height.
|
static void |
setPreferredWidth(int width,
JComponent... components)
Sets all specified components to the same width.
|
public static final void normalizeWidth(JComponent... components)
The normalized width is calculated as the maximum preferred width among the specified components.
components - the components to be resizedpublic static final void setPreferredWidth(int width,
JComponent... components)
width - the desired widthcomponents - the components to be resizedpublic static final void normalizeHeight(JComponent... components)
The normalized height is calculated as the maximum preferred height among the specified components.
components - the components to be resizedpublic static final void setPreferredHeight(int height,
JComponent... components)
height - the desired heightcomponents - the components to be resizedCopyright © 2010–2015 Matthew Zipay. All rights reserved.