How to fix annoying white splash in this simple java code?

Printable View