public class GuiUtils extends Object
Constructor and Description |
---|
GuiUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
fixSize(TableColumn column,
JTable table)
Fix the size of a column according to the header text.
|
static JScrollPane |
makeScrollPane(Component comp)
Create a scroll panel that sets its preferred size to its minimum size.
|
public static JScrollPane makeScrollPane(Component comp)
comp
- the component which should be placed inside the scroll panepublic static void fixSize(TableColumn column, JTable table)
column
- to be resizedtable
- containing the columnCopyright © 1998-2012 Apache Software Foundation. All Rights Reserved.