There is code for the 2 JLabels with ImageIcon inside them and they keep showing up right below each other.
Then is sounds like you are using a vertical BoxLayout
.
If you want the labels to be displayed horizontally, then you can add the labels to a panel and then add the panel to your "displayPanel".
That is you can nest panels that use different layout managers to get your desired layout.
Also, use standard Java variable names. Variable names should NOT start with an upper case character.