Revision 44263 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/DefaultSearchPanelView.java
DefaultSearchPanelView.java | ||
---|---|---|
49 | 49 |
JButton btnSearch = new JButton(); |
50 | 50 |
JButton btnClear = new JButton(); |
51 | 51 |
JTable tblResults = new JTable(); |
52 |
JButton btnShowForm = new JButton(); |
|
53 | 52 |
JLabel lblMsg = new JLabel(); |
53 |
JPanel pnlActions = new JPanel(); |
|
54 | 54 |
|
55 | 55 |
/** |
56 | 56 |
* Default constructor |
... | ... | |
313 | 313 |
public JPanel createPanel4() |
314 | 314 |
{ |
315 | 315 |
JPanel jpanel1 = new JPanel(); |
316 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
|
|
316 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
|
|
317 | 317 |
CellConstraints cc = new CellConstraints(); |
318 | 318 |
jpanel1.setLayout(formlayout1); |
319 | 319 |
|
320 |
btnShowForm.setActionCommand("Ver"); |
|
321 |
btnShowForm.setName("btnShowForm"); |
|
322 |
btnShowForm.setText("Mostrar formulario"); |
|
323 |
jpanel1.add(btnShowForm,cc.xy(6,1)); |
|
324 |
|
|
325 | 320 |
lblMsg.setName("lblMsg"); |
326 | 321 |
jpanel1.add(lblMsg,cc.xy(1,1)); |
327 | 322 |
|
328 |
addFillComponents(jpanel1,new int[]{ 2,3,4,5 },new int[0]); |
|
323 |
pnlActions.setName("pnlActions"); |
|
324 |
jpanel1.add(pnlActions,cc.xy(3,1)); |
|
325 |
|
|
326 |
addFillComponents(jpanel1,new int[]{ 2 },new int[0]); |
|
329 | 327 |
return jpanel1; |
330 | 328 |
} |
331 | 329 |
|
Also available in: Unified diff