private void okActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okActionPerformed
        if (tblpesanan.getRowCount()>0){
            int row = tblpesanan.getSelectedRow();
            pesanan.setText(tblModel.getValueAt(row, 0).toString());
            meja.setSelectedIndex(Integer.parseInt(tblModel.getValueAt(row, 2).toString())-1);
            tgl_pesan.setText(tblModel.getValueAt(row, 1).toString());
        }
        this.dispose();
    }//GEN-LAST:event_okActionPerformed