private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
        try{
            if (jTable1.getSelectedRow()!=-1){
                db.removeRow((jTable1.getSelectedRow()+1));
                myModel.removeRow(jTable1.getSelectedRow());
                myModel.fireTableDataChanged();
                System.out.println("");
            }
           // jTable1.getModel().removeRow(jTable1.getSelectedRow());
        }catch(Exception e){
            System.out.println("Chyba");
        }
    }