private void addActionForPridelitButton() {
        pridelitButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                if (table.getSelectedRow() != -1) {
                    //Object[][] dataFromTable = ((TableModel) table.getModel()).getData();

                    int startNumber = Integer.valueOf((Integer) table.getValueAt(table.getSelectedRow(),4));
                    for (int i=table.getSelectedRow()+1;i<table.getRowCount();i++)
                    {
                        if( (Boolean) table.getValueAt(i,5)== true)
                        {
                            startNumber ++;
                            table.setValueAt(startNumber,i,4);
                        }

                    }


                    System.out.println("Saa");
                    // remove selected row from the model
                    //model.removeRow(table.getSelectedRow());
                }
            }
        });
    }