package lookandfeel;

import java.awt.*;
import javax.swing.*;
import javax.swing.plaf.*;
import javax.swing.plaf.metal.*;


/**
 * A (partial) LookAndFeel that uses JMU visuals
 *
 * @author  Prof. David Benrstein, James Madison University
 * @version 1.0
 */
public class JMULookAndFeel extends MetalLookAndFeel
{
    private static final String description = "A LookAndFeel for JMU";
    private static final String id          = "edu.jmu.cs.bernstdh.JMULF";
    private static final String name        = "JMU LookAndFeel";



    /**
     * Get the long description
     */
    public String getDescription()
    {
	return description;
    }


    /**
     * Get the String identifier
     */
    public String getID()
    {
	return id;
    }

    /**
     * Get the name
     */
    public String getName()
    {
	return name;
    }


    /**
     * Initialize the defaults 
     */
    protected void initClassDefaults(UIDefaults table) 
    {
	String       packageName;
	
	super.initClassDefaults(table);
	packageName = "lookandfeel";
	
        table.put("SliderUI", packageName+".JMUSliderUI");
    }
}
