@Override
    public void stateChanged(ChangeEvent e) {
        int numberOfUsers = numberOfUsersSlider.getValue();
        int consoles;
        int engines;
        StringBuilder engineSize = new StringBuilder();
        int usersPerEngine;

        BmTestManager bmTestManager = BmTestManager.getInstance();
        TestInfo testInfo = bmTestManager.getTestInfo();
        testInfo.setNumberOfUsers(numberOfUsers);
        Users users = bmTestManager.getUsers();
        EnginesParameters enginesParameters = EnginesParameters.getEnginesParameters(users, numberOfUsers);
        consoles = enginesParameters.getConsoles();
        engines = enginesParameters.getEngines();
        engineSize.append(enginesParameters.getEngineSize().equals(Constants.MEDIUM_ENGINE) ? "MEDIUM ENGINE(S)" : "LARGE ENGINE(S)");
        usersPerEngine = enginesParameters.getUserPerEngine();
        numberOfUsers = enginesParameters.getNumberOfUsers();

        enginesDescription.removeAll();

        enginesDescription.setText(consoles + " CONSOLE(S) x " + usersPerEngine + "users\n"
                + String.format("%s %s x %d users", String.valueOf(engines), engineSize, usersPerEngine));
        numberOfUserTextBox.setText(String.valueOf(numberOfUsers));
        engineSize.setLength(0);
    }