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); }
private SynthContext getContext(JComponent c, int state) { return SynthContext.getContext( SynthContext.class, c, SynthLookAndFeel.getRegion(c), style, state); }