|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jets3t.gui.GuiUtils
Utility methods for GUI-related tasks.
| Constructor Summary | |
GuiUtils()
|
|
| Method Summary | |
boolean |
applyIcon(java.lang.Object component,
java.lang.String iconResourcePath)
Loads an icon image from the classpath and sets the icon of the component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GuiUtils()
| Method Detail |
public boolean applyIcon(java.lang.Object component,
java.lang.String iconResourcePath)
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||