I am pretty sure that this question has been asked before, but my case is slightly different as in i am trying to place a JLabel on top of a JLabel acting as a background, I
you can do that by this:
JLabel l1=new JLabel(); JLabel l2=new JLabel(); l1.add(l2, JLabel.NORTH);