class Frame is not a panel anymore.

class Frame also support changing panel, just as changing a page in a
book.