Try to make Java behave on GTK