This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to place a loading circle (Image in a JLabel (lblImage)) on top of an image (Image in a JLabel (lblDndImage)) in a JPanel with GridBagLayout (panelTop). lblImage and lblDndImage are both set elsewhere. When I change the panelTop (JPanel) to a BoxLayout, both images show up, but in the GridBagLayout, they do not show up. What am I doing wrong or missing? I have even tried placing the JlayeredPane in a Jpanel with BoxLayout, and placing that in my final JPanel (panelTop), but it does not work.