I try to show JDialog
when I click JTable
but my dialog didn't show.
It is my code :
private void jTable1MouseClicked(java.awt.event.MouseEvent evt) {
if (evt.getButton() == MouseEvent.BUTTON1 && evt.getClickCount() == 2) {
dlgCoba dlg = new dlgCoba();
dlg.setVisible(true);
}
}