JComponent () { JPanel contentPanel = new JPanel(new BorderLayout()); Box mainPanel = Box.createHorizontalBox(); myClassFilterEditor = createClassFilterEditor(myProject); myClassFilterEditor.setPreferredSize(JBUI.size(400, 200)); myClassFilterEditor.setBorder(IdeBorderFactory.createTitledBorder( JavaDebuggerBundle.message("class.filters.dialog.inclusion.filters.group"), false)); mainPanel.add(myClassFilterEditor); myClassExclusionFilterEditor = createClassFilterEditor(myProject); myClassExclusionFilterEditor.setPreferredSize(JBUI.size(400, 200)); myClassExclusionFilterEditor.setBorder(IdeBorderFactory.createTitledBorder( JavaDebuggerBundle.message("class.filters.dialog.exclusion.filters.group"), false)); mainPanel.add(myClassExclusionFilterEditor); contentPanel.add(mainPanel, BorderLayout.CENTER); return contentPanel; }