OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 49 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 49 Rev 126
Line 2... Line 2...
2
 
2
 
3
import java.awt.GridBagConstraints;
3
import java.awt.GridBagConstraints;
4
import java.awt.GridBagLayout;
4
import java.awt.GridBagLayout;
5
import java.awt.event.ActionEvent;
5
import java.awt.event.ActionEvent;
6
import java.awt.event.ActionListener;
6
import java.awt.event.ActionListener;
-
 
7
import java.net.URI;
-
 
8
import java.net.URISyntaxException;
7
 
9
 
8
import javax.swing.JButton;
10
import javax.swing.JButton;
9
import javax.swing.JFrame;
11
import javax.swing.JFrame;
10
import javax.swing.JLabel;
12
import javax.swing.JLabel;
11
import javax.swing.JOptionPane;
13
import javax.swing.JOptionPane;
Line 35... Line 37...
35
        // Logo OVH.com
37
        // Logo OVH.com
36
        c.gridwidth = 3;
38
        c.gridwidth = 3;
37
        c.fill = GridBagConstraints.NONE;
39
        c.fill = GridBagConstraints.NONE;
38
        c.anchor = GridBagConstraints.WEST;
40
        c.anchor = GridBagConstraints.WEST;
39
        final JImage img = new JImage(OvhPreferencePanel.class.getResource("ovh.png"));
41
        final JImage img = new JImage(OvhPreferencePanel.class.getResource("ovh.png"));
-
 
42
        try {
40
        img.setHyperLink("http://www.ovh.com/fr/telephonie/");
43
            img.setHyperLink(new URI("http://www.ovh.com/fr/telephonie/"));
-
 
44
        } catch (URISyntaxException e2) {
-
 
45
            e2.printStackTrace();
-
 
46
        }
41
        this.add(img, c);
47
        this.add(img, c);
42
 
48
 
43
        // Account
49
        // Account
44
        c.gridx = 0;
50
        c.gridx = 0;
45
        c.gridy++;
51
        c.gridy++;