Separated panel component from TextBox to its own class.

It works, but the panel is not visible for some reason. Looking into it.