What I don't get is why Java doesn't get dogged for desktop UI like C# does.
Because Microsoft pushes C#/dotnet as the preferred way to write UI on Windows.