org.base.apps.core.swing
Class ViewUtil
java.lang.Object
org.base.apps.core.swing.ViewUtil
public class ViewUtil
- extends Object
Utility class for Swing BASE Applications.
- Author:
- Kevan Simpson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loadImage
public static ImageIcon loadImage(ViewUtil.Img img,
String altText,
ViewUtil.IconSize is)
- Utility method to load an image.
- Parameters:
img - The name of the image, sans size qualifier.altText - The alternate text for the image.is - The size of the image.
- Returns:
- An image or
null if not found.
Copyright 2011, Blue Agate Software Entity (BASE)