I was writing a program to display a tabbed panel.I have set sizefor it.But when the size of the panel is changed Tabs go out ofplace how can i prevent this.Is the setResizable method appropriate?