Ill have to second that. I didnt see any options to disable or hide the window closing button on a JFrame. JFrame only has two constructors . One empty and one that takes a string.