Fields "Script location" are getting my white foreground color
fonsecas72 opened this issue · 4 comments
fonsecas72 commented
also
field.setBackground(Color.red);
Isn't changing the background.
fonsecas72 commented
fonsecas72 commented
I also mentioned that with my system the background isn't changing.
My system:
- Netbeans 7.3;
- Ubuntu 12.04;
- java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode);
What happens is that if file is invalid the path gets white but the background still white (should be red)
fonsecas72 commented
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
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