List of usage examples for weka.gui ConverterFileChooser ConverterFileChooser
public ConverterFileChooser(String currentDirectory)
From source file:adams.gui.menu.CostCurve.java
License:Open Source License
/** * Initializes members.//from w w w . j a va 2 s . c o m */ @Override protected void initialize() { super.initialize(); m_FileChooser = new ConverterFileChooser(new File(System.getProperty("user.dir"))); }
From source file:meka.gui.core.GUIHelper.java
License:Open Source License
/** * Returns a new instance of a filechooser for datasets including the bookmarks panel. * * @return the file chooser//from w w w. j a v a 2s.com */ public static ConverterFileChooser newConverterFileChooser() { ConverterFileChooser result; FileChooserBookmarksPanel bookmarks; result = new ConverterFileChooser(System.getProperty("user.home")); bookmarks = new FileChooserBookmarksPanel(); bookmarks.setOwner(result); bookmarks.setBorder(BorderFactory.createEmptyBorder(2, 5, 0, 0)); result.setAccessory(bookmarks); result.setPreferredSize(getDefaultDimensions("FileChooser", 750, 500)); return result; }