Example #1
0
 private SynthContext getContext(JComponent c, Region region, int state) {
   if (region == Region.SPLIT_PANE_DIVIDER) {
     return SynthContext.getContext(SynthContext.class, c, region, dividerStyle, state);
   }
   return SynthContext.getContext(SynthContext.class, c, region, style, state);
 }
Example #2
0
 private SynthContext getContext(JComponent c, int state) {
   return SynthContext.getContext(
       SynthContext.class, c, SynthLookAndFeel.getRegion(c), style, state);
 }