Here you can find the source of getMinimumWidth(JComponent comp)
Parameter | Description |
---|---|
comp | a parameter |
public static int getMinimumWidth(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 { /**/* www . j a v a 2s. c o m*/ * @param comp * @return comp.getMinimumSize().width */ public static int getMinimumWidth(JComponent comp) { return comp.getMinimumSize().width; } }