org.gnu.gnome

Class WindowIcon


public class WindowIcon
extends Boxed

Method Summary

static void
setDefaultIcon(String filename)
Sets the default icon to be used in all windows of the application
static void
setIcon(Window window, String filename)
Set an icon for a window.

Method Details

setDefaultIcon

public static void setDefaultIcon(String filename)
Sets the default icon to be used in all windows of the application

Parameters:
filename - The filename of the icon.


setIcon

public static void setIcon(Window window,
                           String filename)
Set an icon for a window.

Parameters:
window - The window to set the icon.
filename - The filename of the icon