List of usage examples for weka.gui JTableHelper setOptimalColumnWidth
public static void setOptimalColumnWidth(JTable jtable, int col)
From source file:meka.gui.dataviewer.DataPanel.java
License:Open Source License
/** * calculates the optimal column width for the current column *//*from ww w .j a v a2 s. co m*/ public void setOptimalColWidth() { // no column selected? if (m_CurrentCol == -1) { return; } JTableHelper.setOptimalColumnWidth(getTable(), m_CurrentCol); }