public class SystemBrowser
extends java.lang.Object
FileDialog
, which is in turn
a thin wrapper around whatever the native platform uses for its
default file browser. Looks ugly on my fvwm-based Linux desktop,
but for Mac and MS users it may be much preferable to the java-coded
alternatives.
An instance of this class retains state (current directory) between invocations of its sole method.
Constructor and Description |
---|
SystemBrowser() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Icon |
getSystemBrowserIcon()
Returns an icon which represents system browsing.
|
TableLoader |
showLoadDialog(java.awt.Component parent,
java.lang.String format)
Returns a TableLoader based on the file selected by a user.
|
public TableLoader showLoadDialog(java.awt.Component parent, java.lang.String format)
parent
- parent componentformat
- table load formatpublic static javax.swing.Icon getSystemBrowserIcon()