@@ -0,0 +1,1152 @@
+/**%0D%0A * %0D%0A */%0D%0Apackage com.valencia.jutils.app.ui;%0D%0A%0D%0Aimport javax.swing.JOptionPane;%0D%0Aimport javax.swing.UIManager;%0D%0A%0D%0Aimport com.valencia.jutils.app.InputProvider;%0D%0A%0D%0A/**%0D%0A * An input provider that requests input from a Swing dialog box.%0D%0A * %0D%0A * @author Gabriel Valencia, gee4vee@me.com%0D%0A */%0D%0Apublic class SwingDialogInputProvider extends InputProvider %7B%0D%0A%0D%0A    public SwingDialogInputProvider() %7B%0D%0A        // TODO support parent component on input dialog%0D%0A    %7D%0D%0A    %0D%0A    /* (non-Javadoc)%0D%0A     * @see com.valencia.jutils.app.InputProvider#getInput(java.lang.String, java.lang.String)%0D%0A     */%0D%0A    @Override%0D%0A    public String getInput(String contextInfo, String message) throws Exception %7B%0D%0A        String input = JOptionPane.showInputDialog(null, message, contextInfo, JOptionPane.QUESTION_MESSAGE);%0D%0A        return input;%0D%0A    %7D%0D%0A    %0D%0A    public static void main(String%5B%5D args) throws Exception %7B%0D%0A        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());%0D%0A        SwingDialogInputProvider ip = new SwingDialogInputProvider();%0D%0A        %0D%0A        System.out.println(ip.getInput(%22Test%22, %22Please enter input:%22));%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

Add Swing input provider.