ok.setPreferredSize(cancel.getPreferredSize());
ok.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
leftInterface.save();
rightInterface.save();
//TODO skip new command if nothing has changed
Controller.getCurrentMap().getHistory().execute(new Command() {
Connection.Type oltType = c.getType(), newType = (Connection.Type) connectionType.getSelectedItem();
double oldBandwidth = c.getBandwidth(), newBandwidth;
@Override