Hi,
Main view had one button, to remove the part number from SQL table. Once the button is clicked it will open popup to ask 'Are you sure want to delete' if press 'Yes' the particular record will remove from SQL table and popup need to close.
Here, when pressing 'Yes' button record is not removed, but popup is closed. For popup close am using 'onActionperformed' --> Popup
before popup my script is there, to remove the record from SQL table.
If script and popup close both are present, record is not removed from SQL table when pressing 'Yes' button.
If popup close option is removed from 'onActionperformed', record is removed from SQL table when pressing 'Yes' button
.