Suppresses some warnings for type safety

Some type safety warnings can be ignored, they were just a result of old
Swing code.
dbeckwith