Is there any way I can display the stack panel in using swing. I have tried and googled various option but could not find anything relevant. Please give me an idea.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Errr… A lot of confusion here. Let me see if I can add to it.
Swing has a CardLayout, into which you can put plain JPanels.
So, make a JPanel, give a Cardlayout as the manager.
Cardlayout handles displaying JPanels (or other controls) on top of others.
I hope I understood, and that my answer helps.