dcsimg

Is there any way of simulating “x” (close window) button for a JInternalFrame programatically?

Chandra Patni

You can simply call doDefaultCloseAction() of JInternalFrame to simulate “x” (close window) button on an internal frame.