675 |
* |
* |
676 |
* @return the same object that was passed for <code>insets</code>. |
* @return the same object that was passed for <code>insets</code>. |
677 |
* |
* |
678 |
* @see #getBorderInsets() |
* @see #getBorderInsets(Component) |
679 |
*/ |
*/ |
680 |
public Insets getBorderInsets(Component c, Insets insets) |
public Insets getBorderInsets(Component c, Insets insets) |
681 |
{ |
{ |
1117 |
/** |
/** |
1118 |
* Determines the insets of the nested component when it has a |
* Determines the insets of the nested component when it has a |
1119 |
* TitledBorder as its border. Used by {@link |
* TitledBorder as its border. Used by {@link |
1120 |
* TitledBorder#getBorderInsets()}. |
* TitledBorder#getBorderInsets(Component, Insets)}. |
1121 |
* |
* |
1122 |
* @param i an Insets object for storing the results into, or |
* @param i an Insets object for storing the results into, or |
1123 |
* <code>null</code> to cause the creation of a |
* <code>null</code> to cause the creation of a |
1140 |
|
|
1141 |
/** |
/** |
1142 |
* Calculates the minimum size needed for displaying the border |
* Calculates the minimum size needed for displaying the border |
1143 |
* and its title. Used by {@link TitledBorder#getMiminumSize()}. |
* and its title. Used by {@link TitledBorder#getMinimumSize(Component)}. |
1144 |
*/ |
*/ |
1145 |
public Dimension getMinimumSize() |
public Dimension getMinimumSize() |
1146 |
{ |
{ |