Mercurial > hg > mep
changeset 19:0c5205934936
Add a scrollbar to the subject questions panel.
author | Marcus Pearce <marcus.pearce@eecs.qmul.ac.uk> |
---|---|
date | Wed, 25 Jan 2012 13:30:28 +0000 |
parents | bc3744eb0180 |
children | f0cd8f32e8c8 |
files | SubjectDataPanel.class SubjectDataPanel.java |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/SubjectDataPanel.java Tue Jan 17 13:03:19 2012 +0000 +++ b/SubjectDataPanel.java Wed Jan 25 13:30:28 2012 +0000 @@ -2,7 +2,7 @@ * File: SubjectDataPanel.java * Author: Marcus Pearce <m.pearce@gold.ac.uk> * Created: <2007-02-14 11:28:27 marcusp> - * Time-stamp: <2011-11-10 19:13:15 marcusp> + * Time-stamp: <2012-01-25 13:27:00 marcusp> *============================================================================= */ @@ -190,10 +190,12 @@ //questionsPanel2.setLayout(new BorderLayout()); //questionsPanel2.add(questionsPanel, BorderLayout.CENTER); + JScrollPane questionsPanel2 = new JScrollPane(questionsPanel); + //getRootPane().setDefaultButton(finishButton); this.setLayout (new BorderLayout()); add(topPanel, BorderLayout.NORTH); - add(questionsPanel, BorderLayout.CENTER); + add(questionsPanel2, BorderLayout.CENTER); add(finishPanel,BorderLayout.SOUTH); }