Revision 47687 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.selectiontools.app/org.gvsig.selectiontools.app.mainplugin/src/main/java/org/gvsig/selectiontools/app/extension/tools/buffer/gui/BufferConfigurationPanel.java
BufferConfigurationPanel.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
package org.gvsig.selectiontools.app.extension.tools.buffer.gui; |
25 | 25 |
|
26 |
/* gvSIG. Geographic Information System of the Valencian Government |
|
27 |
* |
|
28 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
29 |
* of the Valencian Government (CIT) |
|
30 |
* |
|
31 |
* This program is free software; you can redistribute it and/or |
|
32 |
* modify it under the terms of the GNU General Public License |
|
33 |
* as published by the Free Software Foundation; either version 2 |
|
34 |
* of the License, or (at your option) any later version. |
|
35 |
* |
|
36 |
* This program is distributed in the hope that it will be useful, |
|
37 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
38 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
39 |
* GNU General Public License for more details. |
|
40 |
* |
|
41 |
* You should have received a copy of the GNU General Public License |
|
42 |
* along with this program; if not, write to the Free Software |
|
43 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
44 |
* MA 02110-1301, USA. |
|
45 |
* |
|
46 |
*/ |
|
47 |
|
|
48 | 26 |
import java.awt.*; |
49 | 27 |
import java.awt.event.ActionEvent; |
50 | 28 |
import java.awt.event.ActionListener; |
... | ... | |
77 | 55 |
import org.gvsig.gui.beans.progresspanel.ProgressPanel; |
78 | 56 |
import org.gvsig.i18n.Messages; |
79 | 57 |
import org.gvsig.selectiontools.app.extension.tools.buffer.process.BufferSelectionProcess; |
58 |
import org.gvsig.tools.swing.api.ToolsSwingUtils; |
|
80 | 59 |
import org.gvsig.utils.swing.JComboBox; |
81 | 60 |
|
82 | 61 |
/** |
... | ... | |
146 | 125 |
|
147 | 126 |
setLayout(new BorderLayout()); |
148 | 127 |
this.setBorder(new EmptyBorder(5, 5, 5, 5)); |
149 |
this.setSize(300, 275); |
|
128 |
Dimension dim = ToolsSwingUtils.ensureRowsCols(this, 18, 40, 23, 60); |
|
129 |
this.setSize(dim); |
|
150 | 130 |
|
151 | 131 |
GridBagLayout gbl = new GridBagLayout(); |
152 | 132 |
JPanel centerPanel = new JPanel(gbl); |
... | ... | |
540 | 520 |
*/ |
541 | 521 |
public WindowInfo getWindowInfo() { |
542 | 522 |
if (viewInfo == null) { |
543 |
viewInfo = new WindowInfo(WindowInfo.MODALDIALOG); |
|
523 |
viewInfo = new WindowInfo(WindowInfo.MODALDIALOG|WindowInfo.RESIZABLE);
|
|
544 | 524 |
viewInfo.setTitle( |
545 | 525 |
Messages.getText("Select_by_buffer")); |
546 | 526 |
viewInfo.setWidth(this.getWidth()); |
Also available in: Unified diff