Package cz.cuni.mff.inetpaint.swing

Examples of cz.cuni.mff.inetpaint.swing.HyperlinkLabel


        JLabel nameLabel = new JLabel(rb.getString("aboutName"));
        nameLabel.setFont(new Font(getFont().getFontName(), Font.BOLD, 20));

        JLabel versionLabel = new JLabel(rb.getString("aboutVersion") + " " + Program.VERSION_MAJOR.toString() + "." + Program.VERSION_MINOR.toString());

        HyperlinkLabel websiteLabel = new HyperlinkLabel(Program.URI_WEBPAGE);
        HyperlinkLabel documentationLabel = new HyperlinkLabel(Program.URI_DOCUMENTATION);

        JButton closeButton = new JButton(rb.getString("closeButton"));
        closeButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                processWindowEvent( new WindowEvent( AboutDialog.this, WindowEvent.WINDOW_CLOSING) );
View Full Code Here

TOP

Related Classes of cz.cuni.mff.inetpaint.swing.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.