Stop window resizing in Swing

By | March 7, 2011

This is very useful because in some case we want to stop the window from resizing. The resizing can spoil our entire window design

public JFrame stack_frame = new JFrame();
stack_frame.setResizable(false);

Leave a Reply

Your email address will not be published. Required fields are marked *