I compiled your code and it is working.
restart your IDE
sometimes helps!
give a backgroud color to differ your panels.