results Text area made non editable

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4654 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2006-10-14 22:26:45 +00:00
parent e9ae40d1ba
commit ec24b90757

View File

@ -370,6 +370,7 @@ public class GUI implements CPDListener {
JPanel resultsPanel = new JPanel();
resultsPanel.setLayout(new BorderLayout());
JScrollPane areaScrollPane = new JScrollPane(resultsTextArea);
resultsTextArea.setEditable(false);
areaScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
areaScrollPane.setPreferredSize(new Dimension(600, 300));