Here you can find the source of getMinimumHeight(JComponent comp)
Parameter | Description |
---|---|
comp | a parameter |
public static int getMinimumHeight(JComponent comp)
//package com.java2s; //it under the terms of the GNU Affero General Public License as published by import javax.swing.JComponent; public class Main { /**/*from w w w. ja v a2s .c om*/ * @param comp * @return comp.getMinimumSize().height */ public static int getMinimumHeight(JComponent comp) { return comp.getMinimumSize().height; } }