| java.lang.Object org.apache.jmeter.gui.util.ReportFileDialoger
ReportFileDialoger | final public class ReportFileDialoger (Code) | | author: Peter Lin version: $Revision: 571988 $ |
promptToOpenFile | public static JFileChooser promptToOpenFile(String[] exts)(Code) | | Prompts the user to choose a file from their filesystems for our own
devious uses. This method maintains the last directory the user visited
before dismissing the dialog. This does NOT imply they actually chose a
file from that directory, only that they closed the dialog there. It is
the caller's responsibility to check to see if the selected file is
non-null.
the JFileChooser that interacted with the user, after they arefinished using it (accept or otherwise). |
promptToSaveFile | public static JFileChooser promptToSaveFile(String filename)(Code) | | Prompts the user to choose a file from their filesystems for our own
devious uses. This method maintains the last directory the user visited
before dismissing the dialog. This does NOT imply they actually chose a
file from that directory, only that they closed the dialog there. It is
the caller's responsibility to check to see if the selected file is
non-null.
the JFileChooser that interacted with the user, after they arefinished using it (accept or otherwise). See Also: ReportFileDialoger.promptToOpenFile() |
promptToSaveFile | public static JFileChooser promptToSaveFile(String filename, String[] extensions)(Code) | | Get a JFileChooser with a new FileFilter.
Parameters: filename - Parameters: extensions - JFileChooser |
|
|