Some test code to test out swing.