Small Java GUI program utilizing Swing components