< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/synth/SynthBorder.java
Print this page
*** 66,76 ****
/**
* Reinitializes the insets parameter with this Border's current Insets.
* @param c the component for which this border insets value applies
* @param insets the object to be reinitialized
! * @return the <code>insets</code> object
*/
public Insets getBorderInsets(Component c, Insets insets) {
if (this.insets != null) {
if (insets == null) {
insets = new Insets(this.insets.top, this.insets.left,
--- 66,76 ----
/**
* Reinitializes the insets parameter with this Border's current Insets.
* @param c the component for which this border insets value applies
* @param insets the object to be reinitialized
! * @return the {@code insets} object
*/
public Insets getBorderInsets(Component c, Insets insets) {
if (this.insets != null) {
if (insets == null) {
insets = new Insets(this.insets.top, this.insets.left,
< prev index next >