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.
Write a program to show demonstration of CardLayout and Flowlayout. Create 2 panel, Top & Main. Top panel contains 3 buttons Button 1 , Button 2 & Button 3 in Flowlayout. Main panel contains 3 panels First Panel, Second Panel and Third Panel. On selection of any panel display appropriate message. Here Applet is to be used by implementing ActionListener.