Thanks for the replies. I will use your code Craig - it is a lot cleaner. Got the message about the listeners and if on panel or on frame. I removed this bit if(ZoomPanel.hasHit(p)) because I want to move the whole panel. The next stage will be to just move a line or circle.
Thanks for your help. You can close this topic if you wish.