What kind of "close" button?
- Closing a dialog?
- Closing the application?
- Closing some Window?
EDIT 03.08.2011:
Closing a Tab Panel? That makes no sense. Are we talking about this:
How to Use Tabbed Panes[
^] ?
How would you "close" that one? set it enable(false) or what? A Panel from that one is "closed" when you select another Panel to bring that one in front.