Revision 4392 branches/v05/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/chooseResource/ChooseResourceDialogPanel.java
ChooseResourceDialogPanel.java | ||
---|---|---|
151 | 151 |
*/ |
152 | 152 |
public JPanel getButtonPanel() { |
153 | 153 |
if (buttonsPanel == null) { |
154 |
buttonsPanel = new JPanel(new FlowLayout()); |
|
154 |
FlowLayout flowLayout = new FlowLayout(); |
|
155 |
flowLayout.setAlignment(FlowLayout.RIGHT); |
|
156 |
buttonsPanel = new JPanel(flowLayout); |
|
155 | 157 |
buttonsPanel.add(getCloseButton()); |
156 | 158 |
} |
157 | 159 |
return buttonsPanel; |
... | ... | |
166 | 168 |
public JButton getCloseButton() { |
167 | 169 |
if (cerrar == null) { |
168 | 170 |
cerrar = new JButton(Translator.getText(translator,"close")); |
169 |
cerrar.setPreferredSize(new Dimension(90, 25));
|
|
171 |
cerrar.setPreferredSize(new Dimension(80, 23));
|
|
170 | 172 |
cerrar.setActionCommand("close"); |
171 | 173 |
} |
172 | 174 |
return cerrar; |
Also available in: Unified diff