[Tex/LaTex] Listing spanning two columns with ieee template

ieeetranlistings

I'm writing an article with the IEEEtran template, which have two columns.

I'd like to have a listing with source code that spans the two columns of the article, like in the attached figure.

I'm using the following command: \lstinputlisting[frame=single, caption={blablabla}, label={blablabla}]{listings/blablabla.java}

Does anybody know how to do it?

enter image description here

Best Answer

Until now I didn't find a way to make a listing span two colums using the command that reads the code from a file (\lstinputlisting).

However, I managed how to do it by putting the code in the latex document, as follows:

\begin{lstlisting}[float=*]
code goes here
\end{lstlisting}