I know the constants in the Windows interface that JFrame JDialog and JInternalFrame implement so please dont mention

DISPOSE_ON_CLOSE
DO_NOTHING_ON_CLOSE
HIDE_ON_CLOSE