private Component getHeader() {
        JButton jbAdd = new JButton("add");
        jbAdd.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent ae) {
                Vector<String> newRow = new Vector<String>();
                newRow.add("AaValue" + delete_me++);
                newRow.add("BbValue");
                jtableModel.addRow(newRow);
            }
        });

        JButton jbEdit = new JButton("edit");
        jbEdit.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent ae) {

            }
        });

        JButton jbDelete = new JButton("delete");
        jbDelete.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent ae) {
                int rowIndex = jtable.getSelectedRow();
                if (rowIndex >= 0) {
                    Vector modelRows = jtableModel.getDataVector();
                    System.out.println(modelRows.get(rowIndex));
                    modelRows.remove(rowIndex);
                    jtableModel.setDataVector(modelRows, head_jtable);
                }
            }
        });

        JButton jbX = new JButton("close");
        jbX.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent ae) {
                frame.setVisible(false);
            }
        });

        JPanel jpnlHeader = new JPanel(new GridLayout(1, 4));
        jpnlHeader.add(jbX);
        jpnlHeader.add(jbAdd);
        jpnlHeader.add(jbEdit);
        jpnlHeader.add(jbDelete);
        jpnlHeader.setPreferredSize(new Dimension(250, 24));
        return jpnlHeader;
    }