private void setup() {
    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);
  }
@Test
    void testSetup(){
        final var target = new Target();
        assertEquals(target.getSize().getWidth(), Double.valueOf(640));
        assertEquals(target.getSize().getHeight(), Double.valueOf(480));
        assertTrue(target.isVisible());
    }