Don't create Swing objects until they're needed