jdraw.ui
Class Misc
java.lang.Object
|
+--jdraw.ui.Misc
- public final class Misc
- extends Object
This class exhibits miscellaneous helper functions.
Constructor Summary |
private |
Misc()
This class is not intended to be instancied. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Misc
private Misc()
- This class is not intended to be instancied.
buildCursor
public static Cursor buildCursor(String strFilename,
Point ptHotSpot,
String strAccessibleName)
- Buils a cursor from the specified image.
- Parameters:
strFilename
- the image file nameptHotSpot
- the hot spot positionstrAccessibleName
- the accessible string
centerWindow
public static final void centerWindow(Window wndWindow)
- Centers a window on the screen.
setLookAndFeel
public static void setLookAndFeel(Component cComponent,
String strNewLFClassName)
- Sets the specified look and feel for the specified component tree.