Set the visible property to false. The simplest way to hide a button from the display is to invoke setVisible() on the button object. Passing the boolean value false will have the effect of making the button completely invisible.
I have modality window. I want the window to be able to be minimized and closed, but not resized or maximized.
How do I disable the maximize button and prevent resizing of the window?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With