Revision 760 2.1/trunk/org.gvsig.view3d/org.gvsig.view3d.vector/org.gvsig.view3d.vector.swing/org.gvsig.view3d.vector.swing.impl/src/main/java/org/gvsig/view3d/vector/swing/impl/JVectorLoaderParametersView.java
JVectorLoaderParametersView.java | ||
---|---|---|
8 | 8 |
import java.awt.Dimension; |
9 | 9 |
import javax.swing.Box; |
10 | 10 |
import javax.swing.ImageIcon; |
11 |
import javax.swing.JButton; |
|
12 | 11 |
import javax.swing.JComboBox; |
13 | 12 |
import javax.swing.JFrame; |
14 | 13 |
import javax.swing.JLabel; |
... | ... | |
22 | 21 |
JLabel defaultColorText = new JLabel(); |
23 | 22 |
JLabel constantHeightText = new JLabel(); |
24 | 23 |
JComboBox elevationMode = new JComboBox(); |
25 |
JButton defaultColor = new JButton(); |
|
26 | 24 |
JTextField constantHeight = new JTextField(); |
25 |
JPanel defaultColorPanel = new JPanel(); |
|
27 | 26 |
|
28 | 27 |
/** |
29 | 28 |
* Default constructor |
... | ... | |
115 | 114 |
public JPanel createPanel() |
116 | 115 |
{ |
117 | 116 |
JPanel jpanel1 = new JPanel(); |
118 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE"); |
|
117 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE");
|
|
119 | 118 |
CellConstraints cc = new CellConstraints(); |
120 | 119 |
jpanel1.setLayout(formlayout1); |
121 | 120 |
|
... | ... | |
132 | 131 |
jpanel1.add(constantHeightText,cc.xy(1,6)); |
133 | 132 |
|
134 | 133 |
elevationMode.setName("elevationMode"); |
135 |
jpanel1.add(elevationMode,cc.xy(3,2));
|
|
134 |
jpanel1.add(elevationMode,cc.xywh(3,2,2,1));
|
|
136 | 135 |
|
137 |
defaultColor.setActionCommand("..."); |
|
138 |
defaultColor.setName("defaultColor"); |
|
139 |
defaultColor.setText("..."); |
|
140 |
jpanel1.add(defaultColor,cc.xy(3,4)); |
|
141 |
|
|
142 | 136 |
constantHeight.setName("constantHeight"); |
143 |
jpanel1.add(constantHeight,cc.xy(3,6));
|
|
137 |
jpanel1.add(constantHeight,cc.xywh(3,6,2,1));
|
|
144 | 138 |
|
145 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,3,5,7 }); |
|
139 |
defaultColorPanel.setName("defaultColorPanel"); |
|
140 |
jpanel1.add(defaultColorPanel,cc.xy(3,4)); |
|
141 |
|
|
142 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4 },new int[]{ 1,3,5,7 }); |
|
146 | 143 |
return jpanel1; |
147 | 144 |
} |
148 | 145 |
|
Also available in: Unified diff