jdk/src/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java
changeset 21278 ef8a3a2a72f2
parent 13037 99200b262b30
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   114     }
   114     }
   115 
   115 
   116     /**
   116     /**
   117      * Used by the renderers. For the most part the renderers are implemented
   117      * Used by the renderers. For the most part the renderers are implemented
   118      * as Labels, which is problematic in so far as they are never selected.
   118      * as Labels, which is problematic in so far as they are never selected.
   119      * To accomodate this SynthLabelUI checks if the current
   119      * To accommodate this SynthLabelUI checks if the current
   120      * UI matches that of <code>selectedUI</code> (which this methods sets), if
   120      * UI matches that of <code>selectedUI</code> (which this methods sets), if
   121      * it does, then a state as set by this method is returned. This provides
   121      * it does, then a state as set by this method is returned. This provides
   122      * a way for labels to have a state other than selected.
   122      * a way for labels to have a state other than selected.
   123      */
   123      */
   124     static void setSelectedUI(ComponentUI uix, boolean selected,
   124     static void setSelectedUI(ComponentUI uix, boolean selected,