Is it possible to capture the close tab event for a JTabbedPanel in Java Swing.
I want to check for some conditions and if they are not met, then I have to prevent the user from closing it.
Thanks!
Update: I created a custom event, based on this code and it solved my problem.