static Component getCenterComponent(Container container) { ret ((BorderLayout) container.getLayout()).getLayoutComponent(BorderLayout.CENTER); }