Example #1
0
 /**
  * Returns color specific to the current style. This method is invoked when other variants don't
  * fit.
  */
 private Color getStyleSpecificColor(SynthContext context, int state, ColorType type) {
   state = GTKLookAndFeel.synthStateToGTKStateType(state).ordinal();
   synchronized (sun.awt.UNIXToolkit.GTK_LOCK) {
     int rgb = nativeGetColorForState(widgetType, state, type.getID());
     return new ColorUIResource(rgb);
   }
 }
 static {
   MIN_ID = OUTER.getID();
   MAX_ID = OUTER5.getID();
 }