public final class ColumnResizer extends Object
From Swing Hacks by Joshua Marinacci and Chris Adamson.
2005 Oreilly & Associates Inc. ISBN: 0-596-00907-0
Module: swing-util-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-util-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
static void |
adjustColumnPreferredWidths(JTable table)
Adjust the columns in the table to their preferred widths.
|
public static void adjustColumnPreferredWidths(JTable table)
table
- The table whose columns should be adjusted.Copyright 2011 Cytoscape Consortium. All rights reserved.