se.datadosen.component
Class ChooserFactory

java.lang.Object
  extended by se.datadosen.component.ChooserFactory

public class ChooserFactory
extends java.lang.Object

Choosing files and folders is a mess in Java. The AWT FileDialog is too limited on Windows and the Swing version is too limited on Windows This class tries to provide the best compromises for different platforms and needs

Since:
8.13

Constructor Summary
ChooserFactory()
           
 
Method Summary
static DirectoryChooser createDirectoryChooser(java.awt.Dialog parent)
           
static DirectoryChooser createDirectoryChooser(java.awt.Frame parent)
           
static FileChooser createFileChooser(java.awt.Dialog parent)
           
static FileChooser createFileChooser(java.awt.Frame parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChooserFactory

public ChooserFactory()
Method Detail

createDirectoryChooser

public static DirectoryChooser createDirectoryChooser(java.awt.Frame parent)

createDirectoryChooser

public static DirectoryChooser createDirectoryChooser(java.awt.Dialog parent)

createFileChooser

public static FileChooser createFileChooser(java.awt.Frame parent)

createFileChooser

public static FileChooser createFileChooser(java.awt.Dialog parent)