I know we can setPreferredSize to a panel.
Is there a way set minimum size on a panel too?

1 answer

Staff May 20, 2017

You cannot do it on the level of a panel. It should be done on the level of a layout manager logic. It is up to layout to decide what is minimal size of the a particular component.  


Please login or Register to Submit Answer