Is there a way to remove the maximize button and leave the minimize button and close button without using JDialog. I already know you can set resizable to false like this:
frame = new JFrame();
frame.setResizable(false);
frame.setBounds(100, 100, 450, 300);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
but I want to just get rid of the button. Is that possible at all?