private void pausedOrderTable()
    {
        try
        {
            managerOrder.addObserver(this);
            
            modelOrder = new OrderTablemodel(managerOrder.getPaused());
            tblOrderList.setModel(modelOrder);
            
            tblOrderList.getSelectionModel().addListSelectionListener(new ListSelectionListener()
            {
                @Override
                public void valueChanged(ListSelectionEvent es)
                {
                    int selectedRow = tblOrderList.getSelectedRow();
                    if (selectedRow == -1);
                    {
                        
                    }
                    if (es.getValueIsAdjusting() || selectedRow < 0)
                    {
                        txtOrderId.setText("");
                        txtDate.setText("");
                       // txtQuantity.setText("");
                        txtThickness.setText("");
                        txtWidth.setText("");
                        txtSalesOrderId.setText("");
                        txtCustomerName.setText("");
                        txtEmail.setText("");
                        txtPhone.setText("");
                    }
                    
                    Order o = modelOrder.getEventsByRow(selectedRow);
                    
                    try
                    {
                        txtOrderId.setText(String.valueOf(o.getOrderId()));
                        txtOrderId3.setText(String.valueOf(o.getOrderId()));
                        txtDate.setText(String.valueOf(o.printDate(o.getDueDate())));
                       // txtQuantity.setText(String.valueOf(o.getQuantity()));
                       // txtConductedQuantity.setText(String.valueOf(o.getConductedQuantity()));
                        lblSleeves2.setText(String.valueOf("Sleeves to be made " + o.getConductedQuantity() + " / " + o.getQuantity()));
                        
                        txtThickness.setText(String.valueOf(o.getSleeve().getThickness()));
                        txtWidth.setText(String.valueOf(o.getWidth()));
                        txtSalesOrderId.setText(String.valueOf(o.getSalesOrder().getsOrderId()));
                        txtCustomerName.setText(String.valueOf(o.getSalesOrder().getCustName()));
                        txtEmail.setText(String.valueOf(o.getSalesOrder().getEmail()));
                        txtPhone.setText(String.valueOf(o.getSalesOrder().getPhone()));
                    }
                    catch (Exception ex)
                    {
                        ex.printStackTrace();
                    }
                }
            });
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }