Revision 44143 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.coreplugin.app/org.gvsig.coreplugin.app.mainplugin/src/main/java/org/gvsig/coreplugin/preferences/general/IconThemePageLayout.java
IconThemePageLayout.java | ||
---|---|---|
13 | 13 |
import javax.swing.JFrame; |
14 | 14 |
import javax.swing.JLabel; |
15 | 15 |
import javax.swing.JPanel; |
16 |
import javax.swing.JTextField; |
|
16 | 17 |
|
17 | 18 |
|
18 | 19 |
public class IconThemePageLayout extends JPanel |
... | ... | |
20 | 21 |
JLabel label_title = new JLabel(); |
21 | 22 |
JLabel label_selection = new JLabel(); |
22 | 23 |
JComboBox combo_selection = new JComboBox(); |
24 |
JLabel lblScaleFactor = new JLabel(); |
|
25 |
JTextField txtScaleFactor = new JTextField(); |
|
23 | 26 |
|
24 | 27 |
/** |
25 | 28 |
* Default constructor |
... | ... | |
126 | 129 |
combo_selection.setName("combo_selection"); |
127 | 130 |
jpanel1.add(combo_selection,cc.xy(3,4)); |
128 | 131 |
|
132 |
jpanel1.add(createPanel1(),cc.xywh(2,6,2,1)); |
|
129 | 133 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
130 | 134 |
return jpanel1; |
131 | 135 |
} |
132 | 136 |
|
137 |
public JPanel createPanel1() |
|
138 |
{ |
|
139 |
JPanel jpanel1 = new JPanel(); |
|
140 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)","CENTER:DEFAULT:NONE"); |
|
141 |
CellConstraints cc = new CellConstraints(); |
|
142 |
jpanel1.setLayout(formlayout1); |
|
143 |
|
|
144 |
lblScaleFactor.setName("lblScaleFactor"); |
|
145 |
lblScaleFactor.setText("_Scale_factor"); |
|
146 |
jpanel1.add(lblScaleFactor,cc.xy(1,1)); |
|
147 |
|
|
148 |
txtScaleFactor.setName("txtScaleFactor"); |
|
149 |
jpanel1.add(txtScaleFactor,cc.xy(3,1)); |
|
150 |
|
|
151 |
addFillComponents(jpanel1,new int[]{ 2 },new int[0]); |
|
152 |
return jpanel1; |
|
153 |
} |
|
154 |
|
|
133 | 155 |
/** |
134 | 156 |
* Initializer |
135 | 157 |
*/ |
Also available in: Unified diff