This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
You can nest layouts.
Panel1 has the result , centered
Panel2 has num1, num2 centered
Panel3 has +,-,/,* centered
DaddyPanel has panel1,panel2 and panel3 aligned vertically
DaddyPanel is added to the content pane.
You need to choose an appropriate layout (there are others besides the FlowLayout you have been using) The link Darryl provided, will help you find out these layouts.