Example usage for weka.gui.arffviewer ArffPanel getTable

List of usage examples for weka.gui.arffviewer ArffPanel getTable

Introduction

In this page you can find the example usage for weka.gui.arffviewer ArffPanel getTable.

Prototype

public ArffTable getTable() 

Source Link

Document

returns the table component

Usage

From source file:adams.gui.tools.previewbrowser.WekaDatasetHandler.java

License:Open Source License

/**
 * Creates the actual view.//from  ww w .  j  a va 2 s  .  c  om
 *
 * @param file   the file to create the view for
 * @return      the view
 */
@Override
protected PreviewPanel createPreview(File file) {
    ArffPanel panel;

    panel = new ArffPanel(file.getAbsolutePath());

    return new PreviewPanel(panel, panel.getTable());
}