private boolean isCompleteInputValid() {
        LinkedList<JTextField> fields = new LinkedList<>();
        fields.add(massesTextField);
        fields.add(connectionMapTextField);
        fields.add(trajectoryTextField);
        fields.add(springLengthsTextField);

        if (isExecutionPhase()) {
            fields.add(springLengthsTextField);
        }

        for (JTextField field : fields) {
            if (ERROR_BACKGROUND_COLOR.equals(field.getBackground())) {
                return false;
            }
        }

        return true;
    }