Package org.jets3t.gui
Class GuiUtils
java.lang.Object
org.jets3t.gui.GuiUtils
Utility methods for GUI-related tasks.
- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GuiUtils
public GuiUtils()
-
-
Method Details
-
applyIcon
Loads an icon image from the classpath and sets the icon of the component.- Parameters:
component
- the component to apply the icon to, supported components are: JMenuItem, JButton, JLabel, Frame.iconResourcePath
- the path to an icon image in the classpath.- Returns:
- true if the icon was found and applied to the component
-