private Component buildContent() { contentArea = new JTextArea(); contentArea.setEditable(false); contentArea.setBackground(Color.WHITE); JScrollPane scrollPane = new JScrollPane(contentArea); scrollPane.setPreferredSize(new Dimension(500, 300)); return UISupport.wrapInEmptyPanel( scrollPane, BorderFactory.createEmptyBorder(10, 10, 10, 10)); }