Interface IconTextCheckBox


public interface IconTextCheckBox
Allows using an icon as well as a text on a JCheckBox
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static JPanel
    wrap(JCheckBox check, String text, Icon icon)
    Wraps the checkbox to display an icon as well as a text
  • Method Details

    • wrap

      static JPanel wrap(JCheckBox check, String text, Icon icon)
      Wraps the checkbox to display an icon as well as a text
      Parameters:
      check - the checkbox
      text - the label text to display
      icon - the icon to display
      Returns:
      a wrapping component