Package org.woped.editor.help.action

Examples of org.woped.editor.help.action.LaunchDefaultBrowserAction


            panel.add(bugReportLabel, c);

            c.gridy = 2;
            c.insets = new Insets(0, 10, 10, 10);
            bugPageLabel = new JLabel(Messages.getString("BugReport.Link"));
            bugPageLabel.addMouseListener(new LaunchDefaultBrowserAction(Messages.getString("BugReport.URL"), bugPageLabel));
            panel.add(bugPageLabel, c);

            bugReportPanel = new JScrollPane(panel);
        }
        return bugReportPanel;
View Full Code Here


            panel.add(aboutTextLabel, c);

            c.gridy = 3;
            c.insets = new Insets(0, 10, 0, 10);
            homepageLabel = new JLabel("<html><p>" + Messages.getString("About.Homepage") + "</p></html>");
            homepageLabel.addMouseListener(new LaunchDefaultBrowserAction(Messages.getString("About.Homepage.Link"), homepageLabel));
            panel.add(homepageLabel, c);

            c.gridy = 4;
            c.insets = new Insets(0, 10, 0, 10);
            mailtoLabel = new JLabel("<html><p>" + Messages.getString("About.Email") + "</p></html>");
            mailtoLabel.addMouseListener(new LaunchDefaultBrowserAction(Messages.getString("About.Email.Link"), mailtoLabel));
            panel.add(mailtoLabel, c);

            c.gridy = 5;
            c.insets = new Insets(0, 10, 0, 10);
            sfLabel = new JLabel("<html><p>" + Messages.getString("About.Development") + "</p></html>");
            sfLabel.addMouseListener(new LaunchDefaultBrowserAction(Messages.getString("About.Development.Link"), sfLabel));
            panel.add(sfLabel, c);

            c.gridy = 6;
            c.insets = new Insets(0, 10, 0, 10);
            icLabel = new JLabel("<html><p>" + Messages.getString("About.Iconset") + "</p></html>");
            icLabel.addMouseListener(new LaunchDefaultBrowserAction(Messages.getString("About.Iconset.Link"), icLabel));
            panel.add(icLabel, c);

            aboutPanel = new JScrollPane(panel);
        }
        return aboutPanel;
View Full Code Here

                // Local link, open in helpbrowser
                showPage(linkedURL, false, false);
            } else
            {
                // External WWW link, open in default Webbrowser
                LaunchDefaultBrowserAction lda = new LaunchDefaultBrowserAction(linkedURL, null);
                lda.displayURL();
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.woped.editor.help.action.LaunchDefaultBrowserAction

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.