Example usage for java.awt Button subclass-usage

List of usage examples for java.awt Button subclass-usage

Introduction

In this page you can find the example usage for java.awt Button subclass-usage.

Usage

From source file ExposedInt.java

class GrayButton extends Button {

    GrayButton(String label) {

        super(label);
        setBackground(Color.lightGray);

From source file ExposedFloat.java

class GrayButton extends Button {

    GrayButton(String label) {

        super(label);
        setBackground(Color.lightGray);

From source file CircleOfSquares.java

class GrayButton extends Button {

    GrayButton(String label) {

        super(label);
        setBackground(Color.lightGray);

From source file JVMSimulator.java

class GrayButton extends Button {

    GrayButton(String label) {

        super(label);
        setBackground(Color.lightGray);