equal
deleted
inserted
replaced
276 public SynthContext getContext(JComponent c) { |
276 public SynthContext getContext(JComponent c) { |
277 return getContext(c, SynthLookAndFeel.getComponentState(c)); |
277 return getContext(c, SynthLookAndFeel.getComponentState(c)); |
278 } |
278 } |
279 |
279 |
280 private SynthContext getContext(JComponent c, int state) { |
280 private SynthContext getContext(JComponent c, int state) { |
281 return SynthContext.getContext(SynthContext.class, c, |
281 return SynthContext.getContext(c, style, state); |
282 SynthLookAndFeel.getRegion(c), style, state); |
|
283 } |
282 } |
284 |
283 |
285 /** |
284 /** |
286 * Notifies this UI delegate to repaint the specified component. |
285 * Notifies this UI delegate to repaint the specified component. |
287 * This method paints the component background, then calls |
286 * This method paints the component background, then calls |