Link to home
Start Free TrialLog in
Avatar of Omer-Pitou
Omer-Pitou

asked on

Closing JDialog - Process keeps running in the background

Hi Sirs,
I noticed that every time I close a JDialog, there is a process that keeps running in the background.
I use JDialog for specific window forms that need the attribute modal to be set to true, as I can't find it in JFrame.
And on JDialog this constant EXIT_ON_CLOSE is not supported.
How can I clear the memory after closing a JDialog? Currently, the constant used is DISPOSE_ON_CLOSE

Thanks
Avatar of krakatoa
krakatoa
Flag of United Kingdom of Great Britain and Northern Ireland image

there is a process that keeps running in the background.

 . . . what process is that?
Avatar of Omer-Pitou
Omer-Pitou

ASKER

Hi,
This is what is mentioned on the Netbeans status bar, every time I close that window, and reopen the number keeps going up.User generated image
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial