Moves Swing code from Platform to Platform_Swing