Jon Camilleri wrote:How would it work?
Not sure I understand this question?...I took your second block of code and looked through it.....what APPEARED to be the issue is that you never retrieved the content pane and then added the panel to that...
I say appeared as I added the two lines of code and it functioned.
The second code block was just adding in that you listed yellow twice so you would have only ever gotten two buttons.
This is the code that I ended up with...