Example usage for javax.swing.plaf.metal DefaultMetalTheme subclass-usage

List of usage examples for javax.swing.plaf.metal DefaultMetalTheme subclass-usage

Introduction

In this page you can find the example usage for javax.swing.plaf.metal DefaultMetalTheme subclass-usage.

Usage

From source file Main.java

class MyDefaultMetalTheme extends DefaultMetalTheme {
    public ColorUIResource getWindowTitleInactiveBackground() {
        return new ColorUIResource(java.awt.Color.orange);
    }

    public ColorUIResource getWindowTitleBackground() {

From source file Main.java

class MyDefaultMetalTheme extends DefaultMetalTheme {
    // inactive title color
    public ColorUIResource getWindowTitleInactiveBackground() {
        return new ColorUIResource(java.awt.Color.orange);
    }

From source file lookandfeel.TestTheme.java

/**
 * This class describes a theme using "primary" colors.
 * You can change the colors to anything else you want.
 *
 * 1.9 07/26/04
 */

From source file LookAndFeelDemo.java

/**
 * This class describes a theme using "primary" colors. You can change the
 * colors to anything else you want.
 * 
 * 1.9 07/26/04
 */