Package net.sf.jpluck.apps.jpluckx

Examples of net.sf.jpluck.apps.jpluckx.JPluckX$AutoUpdateTask


    }

    public void addSite(final String name, final String url) {
        SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    JPluckX jpluckx = JPluckX.getInstance();
                    jpluckx.setDialogActive(true);
                    DocumentDialog.Result result = DocumentDialog.addSite(ListFrame.this, jxl, name, url, true);
                    jpluckx.setDialogActive(false);
                    if (result.isOk()) {
                        tableList.setSelectedItems(new Object[] { tableList.getObjectAt(jxl.getSize() - 1) });
                        if (result.isConvert()) {
                            convertAction.actionPerformed(null);
                        }
                        save();
                    }
                    if (jpluckx.wasMinimizedToTrayIcon()) {
                        jpluckx.closeListFrame(ListFrame.this, false);
                    }
                }
            });
    }
View Full Code Here

TOP

Related Classes of net.sf.jpluck.apps.jpluckx.JPluckX$AutoUpdateTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.