Shift from AWT to Swing.