Commit 1d3888a3c909b39965da0770f9f81e0852832a12
1 parent
b6627be6
Exists in
master
[bugFix] Init DataProductTypeField to All
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/main/java/eu/omp/irap/vespa/epntapclient/view/ParamField.java
@@ -267,6 +267,7 @@ public abstract class ParamField extends JPanel { | @@ -267,6 +267,7 @@ public abstract class ParamField extends JPanel { | ||
267 | public DataProductTypeField(EpnTapMainView mainView, String paramName) { | 267 | public DataProductTypeField(EpnTapMainView mainView, String paramName) { |
268 | super(mainView, paramName); | 268 | super(mainView, paramName); |
269 | comboBox = new JComboBox(getItems().keySet().toArray()); | 269 | comboBox = new JComboBox(getItems().keySet().toArray()); |
270 | + comboBox.setSelectedItem("All"); | ||
270 | comboBox.setPreferredSize(new Dimension(MIN_FIELD_WIDTH, FIELD_HEIGHT)); | 271 | comboBox.setPreferredSize(new Dimension(MIN_FIELD_WIDTH, FIELD_HEIGHT)); |
271 | comboBox.addActionListener(new ActionListener() { | 272 | comboBox.addActionListener(new ActionListener() { |
272 | @Override | 273 | @Override |