|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsophware.awt.SEToolkit
SETookit is a collection of static utility methods.
| Constructor Summary | |
SEToolkit()
|
|
| Method Summary | |
static java.awt.Frame |
getFrame(java.awt.Component comp)
Gets the frame containing the given Component. |
static java.awt.Image |
getImage(java.lang.String file)
Loads an image from a file in the user's CLASSPATH |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SEToolkit()
| Method Detail |
public static java.awt.Image getImage(java.lang.String file)
throws java.io.IOException
file - an absolute or relative path to an image file
java.io.IOExceptionpublic static java.awt.Frame getFrame(java.awt.Component comp)
comp - component for which frame is needed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||