If you are using the brand new Eclipse Photon on an Ubuntu 16.04, it can happen that you encounter some rendering issues like the one below.
I start my Eclipse in Ubuntu using the .desktop files with the following environment variable: SWT_GTK3=0. This is obvious not necessary any more. You can either set the value to SWT_GTK3=1 or completely remove this environment variable.
by Ilenia Salvadori, Mark Hoffmann, Jürgen Albert