< prev index next >
src/java.desktop/share/classes/sun/swing/SwingUtilities2.java
Print this page
*** 1434,1444 ****
return rule.toString();
}
/**
* Utility method that creates a {@code UIDefaults.LazyValue} that
! * creates an {@code ImageIcon} {@code UIResource} for the
* specified image file name. The image is loaded using
* {@code getResourceAsStream}, starting with a call to that method
* on the base class parameter. If it cannot be found, searching will
* continue through the base class' inheritance hierarchy, up to and
* including {@code rootClass}.
--- 1434,1444 ----
return rule.toString();
}
/**
* Utility method that creates a {@code UIDefaults.LazyValue} that
! * creates an {@code ImageIcon UIResource} for the
* specified image file name. The image is loaded using
* {@code getResourceAsStream}, starting with a call to that method
* on the base class parameter. If it cannot be found, searching will
* continue through the base class' inheritance hierarchy, up to and
* including {@code rootClass}.
*** 1457,1467 ****
return makeIcon(baseClass, rootClass, imageFile, true);
}
/**
* Utility method that creates a {@code UIDefaults.LazyValue} that
! * creates an {@code ImageIcon} {@code UIResource} for the
* specified image file name. The image is loaded using
* {@code getResourceAsStream}, starting with a call to that method
* on the base class parameter. If it cannot be found, searching will
* continue through the base class' inheritance hierarchy, up to and
* including {@code rootClass}.
--- 1457,1467 ----
return makeIcon(baseClass, rootClass, imageFile, true);
}
/**
* Utility method that creates a {@code UIDefaults.LazyValue} that
! * creates an {@code ImageIcon UIResource} for the
* specified image file name. The image is loaded using
* {@code getResourceAsStream}, starting with a call to that method
* on the base class parameter. If it cannot be found, searching will
* continue through the base class' inheritance hierarchy, up to and
* including {@code rootClass}.
< prev index next >