Class SubstancePanelUI


public class SubstancePanelUI extends BasicPanelUI
UI for panels in Substance look and feel.
  • Constructor Details

    • SubstancePanelUI

      public SubstancePanelUI()
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent comp)
    • installDefaults

      protected void installDefaults(JPanel p)
      Overrides:
      installDefaults in class BasicPanelUI
    • update

      public void update(Graphics g, JComponent c)
      Overrides:
      update in class ComponentUI
    • toPaintBackground

      protected boolean toPaintBackground(JComponent c)
      Returns indication whether the panel background should be filled.
      Parameters:
      c - Component (should be JPanel).
      Returns:
      true if the panel background should be filled with the background color, false otherwise.