Link to home
Start Free TrialLog in
Avatar of conick
conick

asked on

cardlayout


I cant seem to find a method that allows the program to know what "card" is currently being displayed.
Is there a trick for this or is there a method that i didnt find in the documentation?

ASKER CERTIFIED SOLUTION
Avatar of msmolyak
msmolyak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of conick
conick

ASKER


works great! thanks...

i didnt even look in the Component class
I was looking in the cardlayout, layoutmanager(2)
as always once I get the answer it seems to make sense

 
Look at your question. You are asking whether the card is currently being displayed. That is you are trying to probe the propery of a card. Think object-oriented.