Statistics
| Revision:

gvsig-desktop-customize / trunk / org.gvsig.customize.app / org.gvsig.customize.app.mainplugin / src / main / java / org / gvsig / customize / HttpProxyLoginDialogLayout.java @ 1

History | View | Annotate | Download (4.23 KB)

1
/*
2
 * To change this license header, choose License Headers in Project Properties.
3
 * To change this template file, choose Tools | Templates
4
 * and open the template in the editor.
5
 */
6

    
7
package org.gvsig.customize;
8

    
9
/**
10
 *
11
 * @author jjdelcerro
12
 */
13
public class HttpProxyLoginDialogLayout extends javax.swing.JPanel {
14

    
15
    /**
16
     * Creates new form HttpProxyLoginLayout
17
     */
18
    public HttpProxyLoginDialogLayout() {
19
        initComponents();
20
    }
21

    
22
    /**
23
     * This method is called from within the constructor to initialize the form.
24
     * WARNING: Do NOT modify this code. The content of this method is always
25
     * regenerated by the Form Editor.
26
     */
27
    @SuppressWarnings("unchecked")
28
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
29
    private void initComponents() {
30
        java.awt.GridBagConstraints gridBagConstraints;
31

    
32
        lblTitle = new javax.swing.JLabel();
33
        lblName = new javax.swing.JLabel();
34
        txtName = new javax.swing.JTextField();
35
        lblPassword = new javax.swing.JLabel();
36
        botLogin = new javax.swing.JButton();
37
        botCancel = new javax.swing.JButton();
38
        txtPassword = new javax.swing.JPasswordField();
39

    
40
        setBorder(javax.swing.BorderFactory.createEmptyBorder(10, 10, 10, 10));
41
        setAlignmentX(1.0F);
42
        setAlignmentY(1.0F);
43
        java.awt.GridBagLayout layout = new java.awt.GridBagLayout();
44
        layout.columnWidths = new int[] {0, 5, 0, 5, 0, 5, 0};
45
        layout.rowHeights = new int[] {0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0};
46
        setLayout(layout);
47

    
48
        lblTitle.setText("Identificacion de usuario para acceso a internet");
49
        gridBagConstraints = new java.awt.GridBagConstraints();
50
        gridBagConstraints.gridx = 2;
51
        gridBagConstraints.gridy = 2;
52
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
53
        add(lblTitle, gridBagConstraints);
54

    
55
        lblName.setText("Nombre de usuario:");
56
        gridBagConstraints = new java.awt.GridBagConstraints();
57
        gridBagConstraints.gridx = 2;
58
        gridBagConstraints.gridy = 6;
59
        gridBagConstraints.gridwidth = 3;
60
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
61
        add(lblName, gridBagConstraints);
62
        gridBagConstraints = new java.awt.GridBagConstraints();
63
        gridBagConstraints.gridx = 2;
64
        gridBagConstraints.gridy = 8;
65
        gridBagConstraints.gridwidth = 3;
66
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
67
        add(txtName, gridBagConstraints);
68

    
69
        lblPassword.setText("Clave:");
70
        gridBagConstraints = new java.awt.GridBagConstraints();
71
        gridBagConstraints.gridx = 2;
72
        gridBagConstraints.gridy = 12;
73
        gridBagConstraints.gridwidth = 3;
74
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
75
        add(lblPassword, gridBagConstraints);
76

    
77
        botLogin.setText("Aceptar");
78
        gridBagConstraints = new java.awt.GridBagConstraints();
79
        gridBagConstraints.gridx = 4;
80
        gridBagConstraints.gridy = 18;
81
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
82
        add(botLogin, gridBagConstraints);
83

    
84
        botCancel.setText("Cancelar");
85
        gridBagConstraints = new java.awt.GridBagConstraints();
86
        gridBagConstraints.gridx = 2;
87
        gridBagConstraints.gridy = 18;
88
        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
89
        add(botCancel, gridBagConstraints);
90
        gridBagConstraints = new java.awt.GridBagConstraints();
91
        gridBagConstraints.gridx = 2;
92
        gridBagConstraints.gridy = 14;
93
        gridBagConstraints.gridwidth = 3;
94
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
95
        add(txtPassword, gridBagConstraints);
96
    }// </editor-fold>//GEN-END:initComponents
97

    
98

    
99
    // Variables declaration - do not modify//GEN-BEGIN:variables
100
    protected javax.swing.JButton botCancel;
101
    protected javax.swing.JButton botLogin;
102
    protected javax.swing.JLabel lblName;
103
    protected javax.swing.JLabel lblPassword;
104
    protected javax.swing.JLabel lblTitle;
105
    protected javax.swing.JTextField txtName;
106
    protected javax.swing.JPasswordField txtPassword;
107
    // End of variables declaration//GEN-END:variables
108
}