Java JComponent Height getMinimumHeight(JComponent comp)

Here you can find the source of getMinimumHeight(JComponent comp)

Description

get Minimum Height

License

Open Source License

Parameter

Parameter Description
comp a parameter

Return

comp.getMinimumSize().height

Declaration

public static int getMinimumHeight(JComponent comp) 

Method Source Code

//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;
    }
}

Related

  1. adjustHeight(JComponent comp, int height)
  2. fixHeight(JComponent c, int height)
  3. getComponentHeight(JComponent component)
  4. heighten(JComponent component, int px)
  5. makeEqualHeight(JComponent reference, JComponent... others)
  6. normalizeHeight(JComponent... components)
  7. sameHeight(JComponent[] components, int height)