Add SwingView class.