/**
  * Gets the style associated with the given component and region. This will never return null. If
  * an appropriate component and region cannot be determined, then a default style is returned.
  *
  * @param c a non-null reference to a JComponent
  * @param r a non-null reference to the region of the component c
  * @return a non-null reference to a NimbusStyle.
  */
 public static NimbusStyle getStyle(JComponent c, Region r) {
   return (NimbusStyle) SynthLookAndFeel.getStyle(c, r);
 }