\definecolor{codegray}{rgb}{0.5,0.5,0.5} \definecolor{codegreen}{rgb}{0.65,0.89,0.18} \definecolor{codeyellow}{rgb}{0.9,0.86,0.45} \definecolor{codeblue}{rgb}{0.36,0.76,0.85} \definecolor{backcolour}{rgb}{0.1,0.1,0.2} \lstinputlisting[ language=Java, backgroundcolor=\color{backcolour}, keywordstyle=\color{codeblue}, identifierstyle=\color{codegreen}, stringstyle=\color{codeyellow}, basicstyle=\footnotesize \ttfamily\color{white}, commentstyle=\color{codegray}, numberstyle=\tiny\color{codegray}, numbers=left, numbersep=5pt, showstringspaces=false, ]{listings/source-code-listings/Test.java}