Swing client warning fixes