JComponent () { JPanel panel = new JPanel(new BorderLayout()); panel.add(new JLabel(IdeBundle.message("label.text.put.stacktrace.here")), BorderLayout.NORTH); myEditorPanel = AnalyzeStacktraceUtil.createEditorPanel(myProject, myDisposable); myEditorPanel.pasteTextFromClipboard(); panel.add(myEditorPanel, BorderLayout.CENTER); return panel; }