Example #1
0
 @Override
 public int getMinHeight() {
   return Math.max(
       super.getMinHeight(), getBorderVertical() + BoxLayout.computeMinHeightHorizontal(this));
 }