Revision 3457 org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/loggin/VCSGisUserIdentificationRequesterDialogView.java
VCSGisUserIdentificationRequesterDialogView.java | ||
---|---|---|
22 | 22 |
JLabel lblPassword = new JLabel(); |
23 | 23 |
JTextField txtUser = new JTextField(); |
24 | 24 |
JPasswordField txtPassword = new JPasswordField(); |
25 |
JLabel lblDescription = new JLabel(); |
|
25 | 26 |
|
26 | 27 |
/** |
27 | 28 |
* Default constructor |
... | ... | |
113 | 114 |
public JPanel createPanel() |
114 | 115 |
{ |
115 | 116 |
JPanel jpanel1 = new JPanel(); |
116 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
117 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
|
|
117 | 118 |
CellConstraints cc = new CellConstraints(); |
118 | 119 |
jpanel1.setLayout(formlayout1); |
119 | 120 |
|
120 | 121 |
lblUser.setName("lblUser"); |
121 | 122 |
lblUser.setText("_User"); |
122 |
jpanel1.add(lblUser,cc.xy(2,2));
|
|
123 |
jpanel1.add(lblUser,cc.xy(2,4));
|
|
123 | 124 |
|
124 | 125 |
lblPassword.setName("lblPassword"); |
125 | 126 |
lblPassword.setText("_Password"); |
126 |
jpanel1.add(lblPassword,cc.xy(2,4));
|
|
127 |
jpanel1.add(lblPassword,cc.xy(2,6));
|
|
127 | 128 |
|
128 | 129 |
txtUser.setName("txtUser"); |
129 |
jpanel1.add(txtUser,cc.xy(4,2));
|
|
130 |
jpanel1.add(txtUser,cc.xy(4,4));
|
|
130 | 131 |
|
131 | 132 |
txtPassword.setName("txtPassword"); |
132 |
jpanel1.add(txtPassword,cc.xy(4,4));
|
|
133 |
jpanel1.add(txtPassword,cc.xy(4,6));
|
|
133 | 134 |
|
134 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5 }); |
|
135 |
lblDescription.setName("lblDescription"); |
|
136 |
lblDescription.setText("_Enter_the_identifier_and_password_of_a_user_with_permissions_to_perform_the_requested_operation"); |
|
137 |
jpanel1.add(lblDescription,cc.xywh(2,2,3,1)); |
|
138 |
|
|
139 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 }); |
|
135 | 140 |
return jpanel1; |
136 | 141 |
} |
137 | 142 |
|
Also available in: Unified diff