jdk/src/share/classes/javax/swing/plaf/synth/SynthSpinnerUI.java
changeset 25100 d527cc827d7d
parent 23010 6dadb192ad81
equal deleted inserted replaced
25099:ba8a24b2576f 25100:d527cc827d7d
   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