Esempio n. 1
0
 @Override
 public void setForeground(Color c) {
   foreground = c;
   if (xtext != null) {
     if (xtext.getForeground() != c) {
       xtext.setForeground(foreground);
     }
     xtext.setSelectionColor(foreground);
     xtext.setCaretColor(foreground);
   }
   repaintText();
 }