GUI - How to do this list(?) ?
EDIT: Found what I was looking for, it's called JTree. This thread can be locked :)
Sorry for the bad title, I really can't think of a good name for the thing that I want to do. I basically have a program where I want some extra information on the right side of the gui.
How the default look is supposed to be
When the user clicks on one of those I want it to look like this.
I have a hard thinking of how I can achieve this result. Maybe some alternated list or maybe using a card layout for that panel?
I would really appreciate it if someone could give me a helping or or push me in the right direction.