Revision 12091 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/panels/TranspByPixelPanel.java
TranspByPixelPanel.java | ||
---|---|---|
69 | 69 |
*/ |
70 | 70 |
private void initialize() { |
71 | 71 |
setBorder(javax.swing.BorderFactory.createTitledBorder(null, PluginServices.getText(this, "transp_by_pixel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null)); |
72 |
setLayout(new BorderLayout(5, 5));
|
|
72 |
setLayout(new BorderLayout()); |
|
73 | 73 |
add(getActiveControl(), BorderLayout.NORTH); |
74 | 74 |
add(getPixelSelector(), BorderLayout.CENTER); |
75 | 75 |
} |
... | ... | |
83 | 83 |
if (pixelSelector == null) { |
84 | 84 |
|
85 | 85 |
pixelSelector = new JPanel(); |
86 |
pixelSelector.setBorder(javax.swing.BorderFactory.createEmptyBorder(11, 11, 11, 11));
|
|
86 |
pixelSelector.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 11, 5, 11));
|
|
87 | 87 |
|
88 | 88 |
pixelSelector.setLayout(new BorderLayout(5, 5)); |
89 | 89 |
|
... | ... | |
103 | 103 |
* @return JPanel |
104 | 104 |
*/ |
105 | 105 |
private JPanel getActiveControl() { |
106 |
if(activeControl == null){ |
|
106 |
if (activeControl == null){
|
|
107 | 107 |
activeControl = new JPanel(); |
108 | 108 |
FlowLayout fl = new FlowLayout(); |
109 | 109 |
fl.setAlignment(FlowLayout.LEFT); |
110 | 110 |
activeControl.setLayout(fl); |
111 |
activeControl.add(getActiveCheck(), null);
|
|
111 |
activeControl.add(getActiveCheck()); |
|
112 | 112 |
} |
113 | 113 |
return activeControl; |
114 | 114 |
} |
... | ... | |
173 | 173 |
gridBagConstraints.gridx = 0; |
174 | 174 |
pCenter = new JPanel(); |
175 | 175 |
pCenter.setLayout(new GridBagLayout()); |
176 |
// pCenter.setPreferredSize(new java.awt.Dimension(65,118)); |
|
177 | 176 |
pCenter.add(getPButtons(), gridBagConstraints); |
178 | 177 |
pCenter.add(getPOperation(), gridBagConstraints1); |
179 | 178 |
} |
Also available in: Unified diff