Hello friends,

I want to overlap two JPanels at same location in the same frame...
by clicking button on the same frame.
If one panel is setVisible(true) at the same time if I click button and this Panel will be setVisible(false) another will be setVisible(true) but that does not resolve my problem.

If any one have another solution please mail me. or reply me.

<snipped email>

CardLayout

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.