Package org.spoutcraft.launcher.skin.components

Examples of org.spoutcraft.launcher.skin.components.HyperlinkJLabel


    } else {
      largerMinecraft = minecraft.deriveFont((float)18);
    }

    // Home Link
    HyperlinkJLabel home = new HyperlinkJLabel("Home", "http://www.spout.org/");
    home.setToolTipText("Visit our homepage");
    home.setFont(largerMinecraft);
    home.setBounds(10, FRAME_HEIGHT - 27, 65, 20);
    home.setForeground(Color.WHITE);
    home.setOpaque(false);
    home.setTransparency(0.70F);
    home.setHoverTransparency(1F);

    // Forums link
    HyperlinkJLabel forums = new HyperlinkJLabel("Forums", "http://forums.spout.org/");
    forums.setToolTipText("Visit our community forums");
    forums.setFont(largerMinecraft);
    forums.setBounds(82, FRAME_HEIGHT - 27, 90, 20);
    forums.setForeground(Color.WHITE);
    forums.setOpaque(false);
    forums.setTransparency(0.70F);
    forums.setHoverTransparency(1F);

    // Donate link
    HyperlinkJLabel donate = new HyperlinkJLabel("Donate", "http://spout.in/donate");
    donate.setToolTipText("Donate to the project");
    donate.setFont(largerMinecraft);
    donate.setBounds(185, FRAME_HEIGHT - 27, 85, 20);
    donate.setForeground(Color.WHITE);
    donate.setOpaque(false);
    donate.setTransparency(0.70F);
    donate.setHoverTransparency(1F);

    // Close button
    close = new TransparentButton();
    close.setIcon(new ImageIcon(Toolkit.getDefaultToolkit().getImage(closeIcon)));
    if (OperatingSystem.getOS().isMac()) {
View Full Code Here

TOP

Related Classes of org.spoutcraft.launcher.skin.components.HyperlinkJLabel

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.