Class GtkSkin

java.lang.Object
com.l2fprod.gui.plaf.skin.impl.AbstractSkin
com.l2fprod.gui.plaf.skin.impl.gtk.GtkSkin
All Implemented Interfaces:
Skin

public final class GtkSkin extends AbstractSkin
GTK (The Gimp Toolkit) Skin Support.
GtkSkin can be used in conjunction with a gtkrc file.
You can find skins at:
  • gtk.themes.org

    Simply extract the skin file in a directory and use:

    SkinLookAndFeel.setSkin(new GtkSkin("c:\downloads\myskin\gtk\gtkrc"));
    UIManager.setLookAndFeel("com.l2fprod.gui.plaf.skin.SkinLookAndFeel");


    to enable skins in your application !



    Created on 28/01/2000 by Frederic Lavigne, fred@L2FProd.com
  • Version:
    $Revision: 1.2 $, $Date: 2003/12/06 21:50:13 $
    Author:
    $Author: l2fprod $
    • Constructor Details

      • GtkSkin

        public GtkSkin(String filename) throws Exception
        Construct a new GtkSkin using the given filename
        Parameters:
        filename - path to a gtk skin (gtkrc) file
        Throws:
        Exception - Description of Exception
      • GtkSkin

        public GtkSkin(URL url) throws Exception
        Construct a new GtkSkin using the given url
        Parameters:
        url - path to a gtk skin (gtkrc) file
        Throws:
        Exception - Description of Exception
      • GtkSkin

        public GtkSkin(URL url, InputStream input) throws Exception
        Constructor for the GtkSkin object
        Parameters:
        url - Description of Parameter
        input - Description of Parameter
        Throws:
        Exception - Description of Exception
      • GtkSkin

        public GtkSkin(GtkParser parser) throws Exception
        Constructor for the GtkSkin object
        Parameters:
        parser - Description of Parameter
        Throws:
        Exception - Description of Exception
    • Method Details