the position of panels can be modified & use class to contain the static vairables