Revision 43132
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.installer/org.gvsig.installer.swing/org.gvsig.installer.swing.impl/src/main/java/org/gvsig/installer/swing/impl/execution/panel/PackagesTablePanel.java | ||
---|---|---|
29 | 29 |
package org.gvsig.installer.swing.impl.execution.panel; |
30 | 30 |
|
31 | 31 |
import java.awt.Color; |
32 |
import java.awt.Dimension; |
|
32 | 33 |
import java.awt.GridBagConstraints; |
33 | 34 |
import java.awt.GridBagLayout; |
34 | 35 |
import java.awt.Insets; |
... | ... | |
42 | 43 |
import javax.swing.JEditorPane; |
43 | 44 |
import javax.swing.JPanel; |
44 | 45 |
import javax.swing.JScrollPane; |
46 |
import javax.swing.JSplitPane; |
|
45 | 47 |
import javax.swing.JTable; |
46 | 48 |
import javax.swing.event.ListSelectionEvent; |
47 | 49 |
import javax.swing.event.ListSelectionListener; |
... | ... | |
128 | 130 |
|
129 | 131 |
fastFilterPanel = new FastFilterButtonsPanel(this); |
130 | 132 |
|
133 |
JSplitPane rightPanel = new JSplitPane( |
|
134 |
JSplitPane.VERTICAL_SPLIT, |
|
135 |
pluginsScrollPane, |
|
136 |
descriptionScrollPane |
|
137 |
); |
|
138 |
rightPanel.setResizeWeight(0.8); |
|
139 |
rightPanel.setOneTouchExpandable(true); |
|
140 |
|
|
131 | 141 |
setLayout(new GridBagLayout()); |
132 | 142 |
|
133 | 143 |
// left panel filter |
... | ... | |
159 | 169 |
gridBagConstraints.weightx = 0.75; |
160 | 170 |
gridBagConstraints.weighty = 0.7; |
161 | 171 |
gridBagConstraints.insets = new Insets(2, 2, 2, 2); |
162 |
add(pluginsScrollPane, gridBagConstraints);
|
|
172 |
add(rightPanel, gridBagConstraints);
|
|
163 | 173 |
|
164 |
// description panel |
|
165 |
gridBagConstraints = new GridBagConstraints(); |
|
166 |
gridBagConstraints.gridx = 1; |
|
167 |
gridBagConstraints.gridy = 2; |
|
168 |
gridBagConstraints.fill = GridBagConstraints.BOTH; |
|
169 |
gridBagConstraints.weightx = 0.75; |
|
170 |
gridBagConstraints.weighty = 0.3; |
|
171 |
gridBagConstraints.insets = new Insets(2, 2, 2, 2); |
|
172 |
add(descriptionScrollPane, gridBagConstraints); |
|
173 |
|
|
174 |
// filterPanel.setInitialFilter(); |
|
175 | 174 |
} |
176 | 175 |
|
177 | 176 |
public void resetFilter() { |
Also available in: Unified diff