Fixed null error for Java2DRenderer. Now uses SwingReplacedElementFactory for #29