final JComboBox sourceCombo = new JComboBox();
sourceCombo.addItem(DEFAULT_TANGO_LABEL);
sourceCombo.addItem(DEFAULT_NEXUS_LABEL);
sourceCombo.setPreferredSize(new Dimension(100, 50));
final TextField sourceParameter = new TextField();
sourceParameter.setText("tangotest1/double_image_ro");
final Button addSource = new Button("Add Source");
addSource.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
addNextSource((String) sourceCombo.getSelectedItem(), sourceParameter.getText());
}
});
final Button cleanSource = new Button("Clean");
cleanSource.addActionListener(new ActionListener() {