private void selectedOrderSleeve2()
    {if(ord == null)
        {
            txtOrderName3.setText("");
            txtOrderId4.setText("");
            lblSleeves.setText("");
        }
        if(operator == null)
        {
            txtId1.setText("");
            txtName1.setText("");
            txtLastName1.setText("");
        }
        else
        {
        txtOrderName3.setText(ord.getOrderName());
        txtOrderId4.setText(String.valueOf(ord.getOrderId()));
        txtId1.setText(String.valueOf(operator.getId()));
        txtName1.setText(String.valueOf(operator.getFirstName()));
        txtLastName1.setText(String.valueOf(operator.getLastName()));
        //lblSleeves1.setText(String.valueOf("Sleeves to be made "));
        //+ ord.getConductedQuantity() + " / " + ord.getQuantity()));
        
        try
        {
         //   txtHasCut.setText(String.valueOf(managerSleeveLog.getQuantity(o.getSleeve())));
            managerSleeve.addObserver(this);
            slmodel = new SleeveTableModel(managerSleeve.getSleevesByOrder(ord));
            tblSleeve3.setModel(slmodel);
            managerOrder.addObserver(this);
            managerStockItem.addObserver(this);
            
            tblSleeve3.getSelectionModel().addListSelectionListener(new ListSelectionListener()
            {
                @Override
                public void valueChanged(ListSelectionEvent es)
                {
                    int selectedRow = tblSleeve3.getSelectedRow();
                    if (selectedRow == -1)
                    {
                        return;
                    }
                    sleeve = slmodel.getEventsByRow(selectedRow);
                    if (sleeve.getStartTime() != null)
                    {
                        SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/YYYY HH:mm:ss");
                        txtStartTime18.setText(sdf.format(sleeve.getStartTime().getTime()));
                        txtEndTime18.setText(sdf.format(sleeve.getEndTime().getTime()));
                        
                        btnPause18.setEnabled(true);
                        btnFinish19.setEnabled(true);
                        btnStart18.setEnabled(true);
                        
                        String status = "Finished";
                        if (ord.getConductedQuantity() == ord.getQuantity() && ord.getStatus().equalsIgnoreCase(status))
                        {
                            btnPause18.setEnabled(false);
                            btnFinish19.setEnabled(false);
                            btnStart18.setEnabled(false);
                        }
                        else if (ord.getConductedQuantity() == ord.getQuantity())
                        {
                            btnPause18.setEnabled(false);
                            btnFinish19.setEnabled(true);
                            btnStart18.setEnabled(false);
                        }
                    }
                    else
                    {
                        btnStart18.setEnabled(true);
                    }
                }
            });
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }
    }