Class ColoredIcon

java.lang.Object
be.gaudry.swing.component.ColoredIcon
All Implemented Interfaces:
Icon

public class ColoredIcon extends Object implements Icon
Creates an icon with a color, used like for the JCheckBoxes
Author:
Steph GAUDRY
  • Field Details

    • width

      public int width
    • height

      public int height
    • color

      public Color color
  • Constructor Details

    • ColoredIcon

      public ColoredIcon(int width, int height, Color color)
    • ColoredIcon

      public ColoredIcon(Color color)
  • Method Details