List of usage examples for weka.gui.arffviewer ArffPanel ArffPanel
public ArffPanel(Instances data)
From source file:adams.gui.tools.previewbrowser.WekaDatasetHandler.java
License:Open Source License
/** * Creates the actual view.//from ww w. ja v a2s . com * * @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()); }