How to implement a Dialog when a user clicks on a menu item in order to confirm his action ? My class extends the Frame class and I have to an instance of the Frame class to the Dialog class. When I click on the menu item, an exception occurs:"null parent frame".


Thanks in advance.

Mehdi