Swing and AWT are messy.