class Target extends JFrame { //NOSONAR

  private static final long serialVersionUID = 1L;

  private final JTable jt;
  private final DefaultTableModel dtm;
  private final JButton del;

  /**
   * Constructor.
   */
  public Target() {
    super("Order System");
    setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    setSize(640, 480);
    dtm = new DefaultTableModel(
        new Object[]{"Name", "Contact Number", "Address", "Deposit Number", "Order"}, 0);
    jt = new JTable(dtm);
    del = new JButton("Delete");
    setup();
  }

  private void setup() {<FILL_FUNCTION_BODY>}

  public void execute(String[] request) {
    dtm.addRow(new Object[]{request[0], request[1], request[2], request[3], request[4]});
  }

  class TargetListener implements ActionListener {
    @Override
    public void actionPerformed(ActionEvent e) {
      var temp = jt.getSelectedRow();
      if (temp == -1) {
        return;
      }
      var temp2 = jt.getSelectedRowCount();
      IntStream.range(0, temp2).forEach(i -> dtm.removeRow(temp));
    }
  }
}

    setLayout(new BorderLayout());
    var bot = new JPanel();
    add(jt.getTableHeader(), BorderLayout.NORTH);
    bot.setLayout(new BorderLayout());
    bot.add(del, BorderLayout.EAST);
    add(bot, BorderLayout.SOUTH);
    var jsp = new JScrollPane(jt);
    jsp.setPreferredSize(new Dimension(500, 250));
    add(jsp, BorderLayout.CENTER);

    del.addActionListener(new TargetListener());

    var rootPane = SwingUtilities.getRootPane(del);
    rootPane.setDefaultButton(del);
    setVisible(true);
  
<methods>public void <init>() throws java.awt.HeadlessException,public void <init>(java.awt.GraphicsConfiguration) ,public void <init>(java.lang.String) throws java.awt.HeadlessException,public void <init>(java.lang.String, java.awt.GraphicsConfiguration) ,public javax.accessibility.AccessibleContext getAccessibleContext() ,public java.awt.Container getContentPane() ,public int getDefaultCloseOperation() ,public java.awt.Component getGlassPane() ,public java.awt.Graphics getGraphics() ,public javax.swing.JMenuBar getJMenuBar() ,public javax.swing.JLayeredPane getLayeredPane() ,public javax.swing.JRootPane getRootPane() ,public javax.swing.TransferHandler getTransferHandler() ,public static boolean isDefaultLookAndFeelDecorated() ,public void remove(java.awt.Component) ,public void repaint(long, int, int, int, int) ,public void setContentPane(java.awt.Container) ,public void setDefaultCloseOperation(int) ,public static void setDefaultLookAndFeelDecorated(boolean) ,public void setGlassPane(java.awt.Component) ,public void setIconImage(java.awt.Image) ,public void setJMenuBar(javax.swing.JMenuBar) ,public void setLayeredPane(javax.swing.JLayeredPane) ,public void setLayout(java.awt.LayoutManager) ,public void setTransferHandler(javax.swing.TransferHandler) ,public void update(java.awt.Graphics) <variables>protected javax.accessibility.AccessibleContext accessibleContext,private int defaultCloseOperation,private static final java.lang.Object defaultLookAndFeelDecoratedKey,protected javax.swing.JRootPane rootPane,protected boolean rootPaneCheckingEnabled,private javax.swing.TransferHandler transferHandler