JComponent () { JComponent root; if (myInputOptions != null && myOutputOptions != null) { root = new JBTabbedPane(); ((JTabbedPane)root).addTab(CommonBundle.message("title.input"), myInputOptions.getRoot()); ((JTabbedPane)root).addTab(CommonBundle.message("title.output"), myOutputOptions.getRoot()); } else if (myInputOptions != null) { root = myInputOptions.getRoot(); } else { root = myOutputOptions.getRoot(); } return root; }