hey guys, just asking if what layout manager should i do to make this happen.
I am making a simple game and I want to put the red panel into the middle of the yellow panel regardless of the size of the red panel.
I use different combinations of layout managers and techniques that i know but can't seem to work.
hope you guys can help me with this. and advance thanks. :)

