ExpandItem [] items = getItems (); for (int i = 0; i < items.length; i++) { items[i].setForegroundColor (color);
if (OS.GTK_VERSION >= OS.VERSION (2, 4, 0)) { for (int i = 0; i < itemCount; i++) { items[i].setForegroundColor (color); }
void setForegroundColor (GdkColor color) {	super.setForegroundColor (color);	ExpandItem [] items = getItems ();	for (int i = 0; i < items.length; i++) {		items[i].setForegroundColor (color);	}}