vralfy / phpcsmd

Netbeans plugin to report code measurements generated by phpcs, phpmd, phpcpd and pdepend as Tasks and Annotations
27 stars 6 forks source link

Fields "Script location" are getting my white foreground color #4

Closed fonsecas72 closed 11 years ago

fonsecas72 commented 11 years ago

also

field.setBackground(Color.red);

Isn't changing the background.

fonsecas72 commented 11 years ago

print: Screenshot from 2013-04-03 19:07:21

fonsecas72 commented 11 years ago

I also mentioned that with my system the background isn't changing. My system:

What happens is that if file is invalid the path gets white but the background still white (should be red)

fonsecas72 commented 11 years ago

This may be a compatibly with Ubuntu/GTK problem. Maybe you should use just:

field.setForeground(Color.RED);

If the file doesn't exists.

vralfy commented 11 years ago

I've just the same Mashine as yours and it works for me ... I've just set the background to yellow and the foreground to red. I hope everyone is happy now :D

Sometimes I hate GUI Programming