private void controlsStructLength(){

        final int MIN_DIAPASON = 0;                 /*Minimum value of slider position */
        final int MAX_DIAPASON = 10000000;          /*Maximum value of slider position */
        final int KIT_OF_ELEMENTS_HEIGHT = 300;     /*Height of joined graphical components*/

        /*
         * Join sliders for set array length together
         */
        JPanel groupStructureLength = new JPanel();
        LayoutManager layoutSliders = getContentPane().getLayout();
        groupStructureLength.setLayout(layoutSliders);
        groupStructureLength.setBorder(BorderFactory.createTitledBorder("Structure length"));
        groupStructureLength.setBounds(STEP_LEFT,STEP_DOWN-20,FIELD_WIDTH+20,KIT_OF_ELEMENTS_HEIGHT);


        JLabel labelX1000000 = new JLabel("x1000000");
        labelX1000000.setBounds(STEP_LEFT, STEP_DOWN-20, FIELD_WIDTH, FIELD_HEIGHT);

        final JTextField textFieldLength = new JTextField("0");
        textFieldLength.setBounds(STEP_LEFT, STEP_DOWN, FIELD_WIDTH, FIELD_HEIGHT);
        textFieldLength.setEditable(false);

        final JSlider sliderLength = new JSlider();
        sliderLength.setBounds(STEP_LEFT,textFieldLength.getY()+35, FIELD_WIDTH, FIELD_HEIGHT);
        sliderLength.setMaximum(MIN_DIAPASON);
        sliderLength.setMaximum(MAX_DIAPASON);

        sliderLength.setValue(sliderLength.getMinimum());
        sliderLength.setMajorTickSpacing(MAX_DIAPASON / 10);

        sliderLength.setPaintTicks(true);
        sliderLength.setSnapToTicks(true);

        JLabel labelX10000 = new JLabel("x10000");
        labelX10000.setBounds(STEP_LEFT, sliderLength.getY()+sliderLength.getHeight()+GAP,
                FIELD_WIDTH, FIELD_HEIGHT);
        final JTextField textFieldLenDiv100 = new JTextField("0");
        textFieldLenDiv100.setBounds(labelX10000.getX(),labelX10000.getY()+GAP*2, FIELD_WIDTH,FIELD_HEIGHT);
        textFieldLenDiv100.setEditable(false);

        final JSlider sliderLenDiv100 = new JSlider();
        sliderLenDiv100.setBounds(textFieldLenDiv100.getX(),textFieldLenDiv100.getY()+35, FIELD_WIDTH, FIELD_HEIGHT);
        sliderLenDiv100.setMaximum(MIN_DIAPASON);
        sliderLenDiv100.setMaximum(MAX_DIAPASON/100);
        sliderLenDiv100.setValue(sliderLenDiv100.getMinimum());
        sliderLenDiv100.setMajorTickSpacing(sliderLenDiv100.getMaximum() / 10);
        sliderLenDiv100.setPaintTicks(true);
        sliderLenDiv100.setSnapToTicks(true);


        JLabel labelX1000 = new JLabel("x1000");
        labelX1000.setBounds(STEP_LEFT, sliderLenDiv100.getY()+sliderLenDiv100.getHeight()+GAP,
                FIELD_WIDTH, FIELD_HEIGHT);
        final JTextField textFieldLenDiv100000 = new JTextField("0");
        textFieldLenDiv100000.setBounds(STEP_LEFT,labelX1000.getY()+GAP*2, FIELD_WIDTH,FIELD_HEIGHT);
        textFieldLenDiv100000.setEditable(false);

        final JSlider sliderLenDiv100000 = new JSlider();
        sliderLenDiv100000.setBounds(textFieldLenDiv100000.getX(),
        textFieldLenDiv100000.getY()+35, FIELD_WIDTH, FIELD_HEIGHT);
        sliderLenDiv100000.setMaximum(MIN_DIAPASON);
        sliderLenDiv100000.setMaximum(MAX_DIAPASON/1000);

        sliderLenDiv100000.setValue(sliderLenDiv100000.getMinimum());
        sliderLenDiv100000.setMajorTickSpacing(sliderLenDiv100000.getMaximum() / 10);

        sliderLenDiv100000.setPaintTicks(true);
        sliderLenDiv100000.setSnapToTicks(true);

        /*
         * Join components which show total length
         */
        JPanel groupTotal = new JPanel();
        LayoutManager layoutGroupTotal = getContentPane().getLayout();
        groupTotal.setLayout(layoutGroupTotal);
        groupTotal.setBorder(BorderFactory.createTitledBorder("Total length"));

        groupTotal.setSize(TABLE_WIDTH, FIELD_HEIGHT+30);

        groupTotal.setLocation(
                getWidth()- groupTotal.getWidth()-15,
                groupStructureLength.getY()
        );

        textFieldResult = new JTextField("0");

        textFieldResult.setBounds(10, 20, groupTotal.getWidth()-20, FIELD_HEIGHT);


        /*
         * Describe slider Change listeners for setting total value of length
         */
        sliderLength.addChangeListener(new ChangeListener() {
            @Override
            public void stateChanged(ChangeEvent e) {
                textFieldLength.setText(Integer.toString(sliderLength.getValue()));
                textFieldResult.setText(Integer.toString
                        (
                                sliderLength.getValue()+
                                        sliderLenDiv100.getValue()+
                                        sliderLenDiv100000.getValue()
                        )
                );
            }
        });

        sliderLenDiv100.addChangeListener(new ChangeListener() {
            @Override
            public void stateChanged(ChangeEvent e) {
                textFieldLenDiv100.setText(Integer.toString(sliderLenDiv100.getValue()));
                textFieldResult.setText(Integer.toString
                        (
                                sliderLength.getValue()+
                                        sliderLenDiv100.getValue()+
                                        sliderLenDiv100000.getValue()
                        )
                );
            }
        });

        sliderLenDiv100000.addChangeListener(new ChangeListener() {
            @Override
            public void stateChanged(ChangeEvent e) {
                textFieldLenDiv100000.setText(Integer.toString(sliderLenDiv100000.getValue()));
                textFieldResult.setText(Integer.toString
                        (
                                sliderLength.getValue()+
                                        sliderLenDiv100.getValue()+
                                        sliderLenDiv100000.getValue()
                        )
                );
            }
        });

        /*
         * Add sliders to group "Structure length"
         */
        groupStructureLength.add(labelX1000000);
        groupStructureLength.add(textFieldLength);
        groupStructureLength.add(sliderLength);

        groupStructureLength.add(labelX10000);
        groupStructureLength.add(textFieldLenDiv100);
        groupStructureLength.add(sliderLenDiv100);

        groupStructureLength.add(labelX1000);
        groupStructureLength.add(textFieldLenDiv100000);
        groupStructureLength.add(sliderLenDiv100000);

        /*
         * Add text field of total length to "Total length"
         */
        groupTotal.add(textFieldResult);

        /*
         *Add group "Structure length" and "Total length" to frame
         */
        add(groupStructureLength);
        add(groupTotal);
    }