If you set it not to be resizable, you cannot maximize it either.
You also have to set some size for the frame. If you are using some layout managers and have some components added to your frame then just call frame.pack();
Otherwise, you need to do either frame.setSize();
or frame.setBounds();
which will help you set both location and size.