How can I get the string identifier of the selected panel in card layout.
The CardLayout does not know what the currently selected panel is. You should keep this in memory yourself, when calling the show() method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With