Package net.datacrow.util.launcher

Examples of net.datacrow.util.launcher.URLLauncher.launch()


        } else if (ae.getActionCommand().equals("donate")) {
            try {
                DcSettings.set(DcRepository.Settings.stAskForDonation, Boolean.FALSE);
               
                URLLauncher launcher = new URLLauncher(new URL("http://www.datacrow.net/donate.html"));
                launcher.launch();
               
                close();
            } catch (Exception e) {
                logger.error(e, e);
            }
View Full Code Here


    private void requestAwsKey() {
        try {
            URL url = new URL("http://aws.amazon.com/");
            if (url != null) {
                URLLauncher launcher = new URLLauncher(url);
                launcher.launch();
            }
        } catch (Exception exp) {
            DcSwingUtilities.displayErrorMessage(exp.toString());
        }
    }
View Full Code Here

    public void openURL() {
        try {
            URL url = getURL();
            if (url != null) {
              URLLauncher launcher = new URLLauncher(url);
              launcher.launch();
            }
        } catch (Exception exp) {
            DcSwingUtilities.displayErrorMessage(exp.toString());
        }
    }
View Full Code Here

    private void launch() {
        try {
            URL url = new URL("http://localhost:" + fldPort.getValue() + "/datacrow");
            URLLauncher launcher = new URLLauncher(url);
            launcher.launch();
        } catch (Exception exp) {
            DcSwingUtilities.displayErrorMessage(exp.toString());
        }
    }
   
View Full Code Here

                //file = file.substring(1);
                new FileLauncher(file).launch();
            } else if (query == null || !query.contains("module=")) {
                try {
                  URLLauncher launcher = new URLLauncher(url);
                  launcher.launch();
                } catch (Exception exp) {
                    logger.error(exp, exp);
                }
            } else {
                int module = Integer.valueOf(query.substring(query.indexOf("=") + 1));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.