I currently have a JApplet within which I add two objects that both extend JComponet.
Object A is basically a large square and object B is a small square, I need Object B to
You might look at JLayeredPane, seen here, or OverlayLayout, seen here. Either should work in an applet, but this hybrid approach may offer additional flexibility.