dsto.dfc.util.win32
Class Win32Icon

java.lang.Object
  extended by dsto.dfc.util.win32.Win32Icon

public class Win32Icon
extends Object

Wrapper for a win32 icon.

Version:
$Revision$
Author:
Matthew Phillips

Constructor Summary
Win32Icon(String resName)
          Create a Win32 icon by loading it from a .ICO resource stream.
 
Method Summary
 void dispose()
           
 int getHandle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Win32Icon

public Win32Icon(String resName)
          throws IOException
Create a Win32 icon by loading it from a .ICO resource stream.

Parameters:
resName - The resource name of the icon (eg "/images/smiley.ico").
Throws:
IOException
Method Detail

getHandle

public int getHandle()

dispose

public void dispose()


Copyright © 2008 Commonwealth of Australia