Package javax.swing

Examples of javax.swing.JTextPane.addHyperlinkListener()


    JLabel jNetMap = new JLabel(new ImageIcon(this.getClass().getResource("/img/splash-tb.png")));
    JTextPane gpl = new JTextPane();
      gpl.setBorder(BorderFactory.createEmptyBorder(5, 5, 0, 0));
      gpl.setText(text);
      gpl.setFocusable(false);
      gpl.addHyperlinkListener(this);
    JPanel bottomRow = new JPanel(new FlowLayout(FlowLayout.CENTER, 5, 5));
      JButton ok = new JButton(Lang.get("action.ok"), Icons.get("ok"));
        ok.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
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.