Package com.dcaiti.eworld.visualizer.utilities

Examples of com.dcaiti.eworld.visualizer.utilities.HyperlinkLabel


    topPanel.add(versionLabel, BorderLayout.CENTER);

    osLabel = new JLabel(getOSName());
    copyrightLabel = new JLabel("Copyright (c) 2011");
    dcaitiLabel = new JLabel("Daimler Center for Automotive Information Technology Innovations (DCAITI)");
    dcaitiLinkLabel = new HyperlinkLabel(
        "<html><a href=\"http://www.dcaiti.com\">http://www.dcaiti.com</a></html>\"",
        new HyperlinkLabel.OnClick() {

          @Override
          public void onClickDo(final MouseEvent me) {
            if (Desktop.isDesktopSupported()) {
              final Desktop desktop = Desktop.getDesktop();
              try {
                desktop.browse(new URI("http://www.dcaiti.com"));
              } catch (final Exception e) {
                e.printStackTrace();
              }
            }
          }

        });
    creditsLabel = new JLabel("Credits: Map Icons Collection");
    creditsLinkLabel = new HyperlinkLabel(
        "<html><a href=\"http://mapicons.nicolasmollet.com\">http://mapicons.nicolasmollet.com</a></html>\"",
        new HyperlinkLabel.OnClick() {

          @Override
          public void onClickDo(final MouseEvent me) {
View Full Code Here

TOP

Related Classes of com.dcaiti.eworld.visualizer.utilities.HyperlinkLabel

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.