Package de.aikiit.fotorenamer.util
Class ComponentGaugeUtil
java.lang.Object
de.aikiit.fotorenamer.util.ComponentGaugeUtil
Helper class to center Swing-components.
- Version:
- 2003-10-22
- Author:
- hirsch, 20.10.2003
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ImageIconcreateImageIcon(String path) Helper that transforms a given path into an ImageIcon.static voidmakeCentered(Component component) Gauge the given component on screen.
- 
Constructor Details- 
ComponentGaugeUtilpublic ComponentGaugeUtil()
 
- 
- 
Method Details- 
makeCenteredGauge the given component on screen.- Parameters:
- component- Swing-component to gauge.
 
- 
createImageIconHelper that transforms a given path into an ImageIcon. In case of errorsnullis returned.- Parameters:
- path- File path that is to be converted into an icon.
- Returns:
- ImageIcon, located at the given path.
 
 
-