Example usage for weka.gui JTableHelper setOptimalColumnWidth

List of usage examples for weka.gui JTableHelper setOptimalColumnWidth

Introduction

In this page you can find the example usage for weka.gui JTableHelper setOptimalColumnWidth.

Prototype

public static void setOptimalColumnWidth(JTable jtable) 

Source Link

Document

sets the optimal column width for alls column if the given table

Usage

From source file:meka.gui.dataviewer.DataPanel.java

License:Open Source License

/**
 * calculates the optimal column widths for all columns
 */
public void setOptimalColWidths() {
    JTableHelper.setOptimalColumnWidth(getTable());
}