Possible Duplicate:
setMaximumSize not working in java
I've having trouble with my JFrame
subclass. I need to set a Maximum height.
But setMaximumSize
does not work. It seems that's a bug in java (setMinimumSize works). How could prevent a JFrame
from getting higher than a given height ?