Revision 38806 branches/v2_0_0_prep/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsPanelLayout.java
ImportPictureMarkerSymbolsPanelLayout.java | ||
---|---|---|
130 | 130 |
public JPanel createPanel() |
131 | 131 |
{ |
132 | 132 |
JPanel jpanel1 = new JPanel(); |
133 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
|
|
133 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,FILL:PREF:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
|
|
134 | 134 |
CellConstraints cc = new CellConstraints(); |
135 | 135 |
jpanel1.setLayout(formlayout1); |
136 | 136 |
|
137 | 137 |
labelTitle.setName("labelTitle"); |
138 |
labelTitle.setText("_Import_images_as_point_symbols");
|
|
138 |
labelTitle.setText("_Import_images_as_picture_marker_symbols");
|
|
139 | 139 |
jpanel1.add(labelTitle,cc.xywh(2,2,6,1)); |
140 | 140 |
|
141 | 141 |
labelImagesToImport.setName("labelImagesToImport"); |
... | ... | |
143 | 143 |
jpanel1.add(labelImagesToImport,cc.xywh(2,4,6,1)); |
144 | 144 |
|
145 | 145 |
labelFolderName.setName("labelFolderName"); |
146 |
labelFolderName.setText("_Folder_name_for_import_the_images");
|
|
146 |
labelFolderName.setText("_Folder_name_for_creatimg_the_symbols");
|
|
147 | 147 |
jpanel1.add(labelFolderName,cc.xywh(2,7,6,1)); |
148 | 148 |
|
149 | 149 |
ctrltFolderName.setName("ctrltFolderName"); |
... | ... | |
154 | 154 |
jscrollpane1.setViewportView(ctrlExistingFolders); |
155 | 155 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
156 | 156 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
157 |
jpanel1.add(jscrollpane1,cc.xywh(3,9,5,1));
|
|
157 |
jpanel1.add(jscrollpane1,new CellConstraints(3,9,5,1,CellConstraints.FILL,CellConstraints.TOP));
|
|
158 | 158 |
|
159 | 159 |
labelSize.setName("labelSize"); |
160 | 160 |
labelSize.setText("_Default_size_to_use_in_symbols"); |
... | ... | |
188 | 188 |
jscrollpane2.setViewportView(ctrlImagesToImport); |
189 | 189 |
jscrollpane2.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
190 | 190 |
jscrollpane2.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
191 |
jpanel1.add(jscrollpane2,cc.xywh(3,5,5,1));
|
|
191 |
jpanel1.add(jscrollpane2,new CellConstraints(3,5,5,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
192 | 192 |
|
193 | 193 |
ctrlBrowseImagesToImport.setActionCommand("_Browse"); |
194 | 194 |
ctrlBrowseImagesToImport.setName("ctrlBrowseImagesToImport"); |
195 | 195 |
ctrlBrowseImagesToImport.setText("_Select_images"); |
196 |
jpanel1.add(ctrlBrowseImagesToImport,cc.xywh(5,6,3,1));
|
|
196 |
jpanel1.add(ctrlBrowseImagesToImport,new CellConstraints(3,6,5,1,CellConstraints.RIGHT,CellConstraints.DEFAULT));
|
|
197 | 197 |
|
198 | 198 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 }); |
199 | 199 |
return jpanel1; |
Also available in: Unified diff